The code displays the events according to the current day. It shows the presetn day, and event on the present day.