refactor code for date-time handling.  all date by time_t on file is now UTC and convert to localtime when display