#datetime
Syntax
#datetime(year as number, month as number, day as number, hour as number, minute as number, second as number) as datetime
About
Creates a datetime value from numbers representing the year, month, day, hour, minute, and (fractional) second. Raises an error if these conditions are not true:
- 1 ≤ year ≤ 9999
- 1 ≤ month ≤ 12
- 1 ≤ day ≤ 31
- 0 ≤ hour ≤ 23
- 0 ≤ minute ≤ 59
- 0 ≤ second < 60
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for