Changed toDate function to show timestamps for anything over 23 hours