Created time helper functions

Should not be merged yet.
pls change number-string to number->string