time functions take a time string and covert to epoc for vectorization