Hi Arnie,
Yes, this should be possible. One way that you could convert from
'March 2009' to a datetime would be to use datetime.strptime (format
string would be something like '%B %Y')
x = datetime.datetime.strptime('March 2009', '%B %Y')
Happy coding,
Jeff
On Mar 31, 8:14 pm, arnie <[email protected]> wrote:
> I have to enter values like
> March 2009 in a datastore table column of type
> db.DateTimeProperty
> Though columns of DateTimeProperty() takes values like this
> "=%Y-%m-%d %H:%M:%S"
> Still then I want to know if this is possible to enter dates like
> March 2009
> Thanks
> Arnie
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---