revert time/date functions