Simple question about yyyy/mm/dd

Scott David Daniels Scott.Daniels at Acm.Org
Thu Mar 19 18:17:35 CET 2009


mattia wrote:
> Hi all, I need to receive in input a date represented by a string in the
> form "yyyy/mm/dd" (or reversed), then I need to assure that the date is 
>> = the current date and then split the dates in variables like year, 
> month, day. Is there some module to do this quickly?
Look into time.strptime

--Scott David Daniels
Scott.Daniels at Acm.Org



More information about the Python-list mailing list