Date and Time logic

Possibly fixed the date and time logic to determine which slideshows to
play