how to convert epoch to date in python code example
Example 1: python epoch to datetime
>>> datetime.datetime.fromtimestamp(1284286794)
datetime.datetime(2010, 9, 12, 11, 19, 54)
Example 2: current date to epoch python
>>> datetime.datetime(2012,4,1,0,0).timestamp()
1333234800.0