Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python3 seconds to datetime

>>> from datetime import datetime
>>> datetime.fromtimestamp(1485714600).strftime("%A, %B %d, %Y %I:%M:%S")
'Sunday, January 29, 2017 08:30:00'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #seconds #datetime
ADD COMMENT
Topic
Name
2+7 =