updated time functions to include from epoc to string