Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

convert timestamp to date python

from datetime import datetime
  
  
timestamp = 1553367060
dt_obj = datetime.fromtimestamp(timestamp).strftime('%d-%m-%y')
  
print("date:",dt_obj)
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #convert #timestamp #date #python
ADD COMMENT
Topic
Name
3+4 =