Home
Head's Up: I'm in the middle of upgrading my site. Most things are in place, but there are something missing and/or broken including image alt text. Please bear with me while I'm getting things fixed.

Convert An Epoch Seconds Number To A Human Readable Datetime In Python

Quick converter to move epoch seconds to a date time.

python
import time

  epoch_seconds = 1614450472

  my_time = time.strftime('%Y-%d-%m %H:%M:%S', time.localtime(epoch_seconds))

  print(my_time)
results start

via : https : //stackoverflow.com/a/12400584/102401

** TKTKTKTK

- Determine if it translates to local timezone or GMT