Saturday, 14 September 2013

parse string as date-time

parse string as date-time

Let's say I have the following string:
Sat, 14 Sep 2013 22:44:49 +0000
how would I turn it into the following format for Django models?
YYYY-MM-DD HH:MM[:ss[.uuuuuu]][TZ]
Thank you very much.

No comments:

Post a Comment