06 May 2011

Python datetime object

A little note about datetime object: date, datetime, time objects all support a strftime(format) method. Check its document here. And you can see some concrete code examples (about the time format).

No comments: