#datetime

Generates a date and time value using numerical inputs for the year, month, day, hour, minute, and (fractional) second. If any of the following conditions are not met, an error will be triggered: - T...

Syntax

#datetime(year as number, month as number, day as number, hour as number, minute as number, second as number) as datetime

About

Generates a date and time value using numerical inputs for the year, month, day, hour, minute, and (fractional) second. If any of the following conditions are not met, an error will be triggered: - The year must be between 1 and 9999. - The month must be between 1 and 12. - The day must be between 1 and 31. - The hour must be between 0 and 23. - The minute must be between 0 and 59. - The second must be greater than or equal to 0 and less than 60.