Creates a NaiveDateTime from year, month, day, and optional hour,
minute, and second integers.
When hour, minute, or second are omitted they default to 0.
Examples
datetime(2024, 1, 15, 13, 30, 45) → ~N[2024-01-15 13:30:45]
datetime(2024, 1, 15) → ~N[2024-01-15 00:00:00]
datetime(2024, 1, 15, 13) → ~N[2024-01-15 13:00:00]
datetime(2024, 1, 15, 13, 30) → ~N[2024-01-15 13:30:00]