Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python time

#!/usr/bin/python
import time

t = (2009, 2, 17, 17, 3, 38, 1, 48, 0)
t = time.mktime(t)
print time.strftime("%b %d %Y %H:%M:%S", time.gmtime(t))

OUTPUT:Feb 18 2009 00:03:38
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #python #time
ADD COMMENT
Topic
Name
7+2 =