added a method to convert time to millis since epoch
test for new time to millis method