modified getEvents

changed getEvents so that it gets events starting at the current time and goes until the end of the day