incorrect way of getting epoch time.