MCPcopy Index your code
hub / github.com/RustPython/RustPython / strptime

Method strptime

Lib/_pydatetime.py:1065–1068  ·  view source on GitHub ↗

Parse a date string according to the given format (like time.strptime()).

(cls, date_string, format)

Source from the content-addressed store, hash-verified

1063
1064 @classmethod
1065 def strptime(cls, date_string, format):
1066 """Parse a date string according to the given format (like time.strptime())."""
1067 import _strptime
1068 return _strptime._strptime_datetime_date(cls, date_string, format)
1069
1070 # Conversions to string
1071

Callers 15

_explain_toMethod · 0.45
test_strptimeMethod · 0.45
test_strptimeMethod · 0.45
test_strptimeMethod · 0.45
test_strptime_errorsMethod · 0.45
test_data_headerMethod · 0.45
test_strptimeMethod · 0.45

Calls

no outgoing calls

Tested by 15

test_strptimeMethod · 0.36
test_strptimeMethod · 0.36
test_strptimeMethod · 0.36
test_strptime_errorsMethod · 0.36
test_data_headerMethod · 0.36
test_strptimeMethod · 0.36