Quantcast
Channel: Snipplr
Viewing all articles
Browse latest Browse all 33

(Python) Formatting date strings in Python - chombee

$
0
0

[date](http://docs.python.org/library/datetime.html#datetime.date), [datetime](http://docs.python.org/library/datetime.html#datetime.datetime) and [time](http://docs.python.org/library/datetime.html#datetime.time) objects in Python have a [strftime](http://docs.python.org/library/datetime.html#strftime-behavior) method for creating string representations in whatever format you want. (See the strftime link for the strftime syntax.)


Viewing all articles
Browse latest Browse all 33

Latest Images

Trending Articles





Latest Images