Is this the correct way to convert a String into a Date? I only have dates and no time.
import time, datetime
oDate = time.strptime('07/27/2011', '%m/%d/%Y')
print oDate
Thanks,
--
http://mail.python.org/mailman/listinfo/python-list
Is this the correct way to convert a String into a Date? I only have dates and no time.
import time, datetime
oDate = time.strptime('07/27/2011', '%m/%d/%Y')
print oDate
Thanks,
--
http://mail.python.org/mailman/listinfo/python-list