get rid of PITA datetime stuff and roll my own