Comment 6 for bug 721297

Revision history for this message
Jay Pipes (jaypipes) wrote :

Ken, this should work: datetime.datetime.utcnow().strftime("%Y-%m-%dT%H:%M:%SZ")

>>> print datetime.datetime.utcnow().strftime("%Y-%m-%dT%H:%M:%SZ")
2011-02-21T16:12:55Z