change time for getting all events at midnight