Parsing a string date using a specific format:
Date and time formating:
- %d: Day of the month (01 - 31)
- %m: Month (01 - 12)
- %y: Two-digit year (23, ...)
- %Y: Four-digit year (2023, ...)
- %I: Hour, in 12-hour format (00 - 12)
- %H: Hour, in 24-hour format (00 - 23)
- %p: AM|PM
- %M: Minutes (00 - 59)
- %S: Seconds (00 - 59)
- %A: Weekday name (Monday, ...)
- %B: Month name (January, ...)