how to type cast "string to datetime" in python

Posted by Rahul99 on Stack Overflow See other posts from Stack Overflow or by Rahul99
Published on 2010-03-16T14:32:37Z Indexed on 2010/03/16 14:36 UTC
Read the original article Hit count: 223

Filed under:
|
|

i am reading a csv file and i want to store this in datastore, but i am getting string from file for datetime field.

i want to type cast it to datetime

also same for date and time separately

error::BadValueError: Property HB_Create_Ship_Date must be a datetime

© Stack Overflow or respective owner

Related posts about python

Related posts about datetime