strftime.org icon indicating copy to clipboard operation
strftime.org copied to clipboard

A single-serving-site that provides a reference for Python's strftime formatting options

Results 12 strftime.org issues
Sort by recently updated
recently updated
newest added

I have Python 3.X installed on Windows 10. Just started learning and made it to the site looking at date representation. I got an error using the format placeholders. Attempting...

Thank you for this great reference with easy to remember URL. There are some useful new codes in Python3, like `%G` and `%V` for iso-year and iso-week. Would you consider...

It would be great if there would be tags above the table to easily select all codes related to hours/days/etc.

![image](https://cloud.githubusercontent.com/assets/1484098/16057504/70167ef2-3248-11e6-9012-8d187b2927f7.png) It's easy enough to figure out what each does, but it looks kind of silly. Edit: Great reference though! I bookmarked it and I use it all the time

It is not immediately clear from the description of "%f", "Microsecond as a decimal number, zero-padded on the left", that it can be used to parse millisecond fields. It is...

There are many gotchas with formatting time, getting right time/date/datetime object, and choosing right syntax for popular formats. It would help to have a preformatted copy-pasteable snippets. I'd personally need...

It would be nice if the code was in alphabetic order.

Would you be interested in a pull request that adds examples of commonly used `format`s for `strftime`?

This is a good opportunity to improve on the python.org docs. An issue I've seen is that %z does unexpected things on Windows (http://bugs.python.org/issue20010). Instead of returning +HHHH it returns...