Skip to content

__strftime__

builtin · libnexusinterp/corefcn/time-proprietary.cc

: 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 by localtime or gmtime, and the resulting string is returned.