Split out worldtime_t functions into seperate file.