Creating a New Date : Datetime : Buildin Module PYTHON TUTORIALS


PYTHON TUTORIALS » Buildin Module » Datetime »

 

Creating a New Date


import datetime
print datetime.datetime.today()

d = datetime.datetime(2007,01,01)
print d



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Buildin Module
» Datetime