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

Method strptime

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

string, format -> new datetime parsed from a string (like time.strptime()).

(cls, date_string, format)

Source from the content-addressed store, hash-verified

2054
2055 @classmethod
2056 def strptime(cls, date_string, format):
2057 'string, format -> new datetime parsed from a string (like time.strptime()).'
2058 import _strptime
2059 return _strptime._strptime_datetime(cls, date_string, format)
2060
2061 def utcoffset(self):
2062 """Return the timezone offset as timedelta positive east of UTC (negative west of

Callers 7

_explain_toMethod · 0.80
timetupleMethod · 0.80
_datetime_typeFunction · 0.80
cvt_fnMethod · 0.80
cvt_fnMethod · 0.80
morsel_to_cookieFunction · 0.80
cvt_fnMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected