0

I have a bunch of epoch times, and I need to reformat them into YYYY-MM-DD mm:ss:(milliseconds).

basically it is the opposite of this post How to convert a date in yyyy-mm-dd hh:mm:ss to unix epoch time . I have tried a few different things, like doing string manipulations. But, I feel like there must be an easier way. using perhaps datetime or another library that is used for this.

Community
  • 1
  • 1
makansij
  • 9,303
  • 37
  • 105
  • 183
  • 1
    http://stackoverflow.com/questions/12400256/python-converting-epoch-time-into-the-datetime – sfell77 Feb 03 '17 at 17:27
  • Please stop calling it "epoch time" when you mean [Unix Time](https://en.wikipedia.org/wiki/Unix_time). There have been [many different epochs used in computing](https://en.wikipedia.org/wiki/Epoch_(reference_date)#Notable_epoch_dates_in_computing). – Matt Johnson-Pint Feb 03 '17 at 18:15

0 Answers0