You will need the built-in datetime module:
import datetime sastime = 1716470000 epoch = datetime.datetime(1960, 1, 1) print(epoch + datetime.timedelta(seconds=sastime))
Which shows:
datetime.datetime(2014, 5, 23, 13, 13, 20)
So, if you have a dataframe with a sastime column, you can do:
epoch = datetime.datetime(1960, 1, 1)
source share