changing time stamps to epoch time