Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

datetime date from string

import datetime
datetime.datetime.strptime('24052010', "%d%m%Y").date()
datetime.date(2010, 5, 24)
 
PREVIOUS NEXT
Tagged: #datetime #date #string
ADD COMMENT
Topic
Name
2+7 =