( datetime_conversion )
Legend
| → | Has corresponding code |
| → | No direct match, but an alternative exists |
| → | No corresponding code |
| - | TODO |
| ( .. ) | Not localized |
| Example | Python pytest |
C++ GoogleTest |
Swift Testing |
Kotlin jUnit |
Bash bats |
|---|---|---|---|---|---|
| ( parse_datetime ) | strptime() | - | - | - | - |
| ( parse_date ) | strptime().date() | - | - | - | - |
| ( create_datetime ) | datetime.datetime(y, m, d, h, m, s, ms) | - | - | - | - |
| ( create_date ) | datetime.date(y, m, d) | - | - | - | - |
| ( format_datetime ) | strftime | - | - | - | - |
| ( format_date ) | strftime | - | - | - | - |
| ( datetime_to_timestamp ) | total_seconds() | - | - | - | - |
| ( timestamp_to_datetime ) | fromtimestamp(ts) | - | - | - | - |
| ( example_excel_serial_to_datetime ) | → | - | - | - | - |
| ( example_datetime_to_excel_serial ) | → | - | - | - | - |