Parse string according to the given date format (like time.strptime()). For a list of supported format codes, see the documentation: https://docs.python.org/3/library/datetime.html#format-codes
(cls, date_string, format)
| 1072 | |
| 1073 | @classmethod |
| 1074 | def strptime(cls, date_string, format): |
| 1075 | """Parse string according to the given date format (like time.strptime()). |
| 1076 | |
| 1077 | For a list of supported format codes, see the documentation: |
| 1078 | https://docs.python.org/3/library/datetime.html#format-codes |
| 1079 | """ |
| 1080 | import _strptime |
| 1081 | return _strptime._strptime_datetime_date(cls, date_string, format) |
| 1082 | |
| 1083 | # Conversions to string |
| 1084 |
no outgoing calls