Thanks for the reply, Raymond Mlambo
yes, I am working with API also.
I need to show calendar with the schedule of all the exams and activities of all days except Sundays when student signup with submitting some details about when he will have his final exams.
if any activity misses then it carries forward to the next day schedule.
give some ideas for this tricky part.