MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / strftime

Method strftime

tools/python-3.11.9-amd64/Lib/datetime.py:1028–1034  ·  view source on GitHub ↗

Format using strftime(). Example: "%d/%m/%Y, %H:%M:%S"

(self, fmt)

Source from the content-addressed store, hash-verified

1026 self._day, self._year)
1027
1028 def strftime(self, fmt):
1029 """
1030 Format using strftime().
1031
1032 Example: "%d/%m/%Y, %H:%M:%S"
1033 """
1034 return _wrap_strftime(self, fmt, self.timetuple())
1035
1036 def __format__(self, fmt):
1037 if not isinstance(fmt, str):

Callers 15

__format__Method · 0.95
_mesgMethod · 0.45
Time2InternaldateFunction · 0.45
__calc_am_pmMethod · 0.45
__calc_date_timeMethod · 0.45
_wrap_strftimeFunction · 0.45
format_datetimeFunction · 0.45
formatTimeMethod · 0.45
doRolloverMethod · 0.45
_tryFunction · 0.45
_iso8601_formatFunction · 0.45
open_dataMethod · 0.45

Calls 2

timetupleMethod · 0.95
_wrap_strftimeFunction · 0.85

Tested by

no test coverage detected