Update time to UNIX timestamps