__strftime__
- :
fmt =__strftime__(template, tm_struct)¶ Produce a text rendering of the broken-down time tm_struct by expanding the conversion specifiers in the format string template.
Each
%-escape in template is replaced with the corresponding field of the scalar structure tm_struct, which has the layout returned bylocaltimeorgmtime, and the resulting string is returned.