Added timeFromDate() and now() functions