MakeDate
The MakeDate function evaluates specified values representing individual date (year, month, day) and time (hour, minute, second) components and returns a datetime value in ISO format.
Syntax
Function arguments:
year
(required) An integer representing the year.
month
(required) An integer representing the month.
day
(required) An integer representing the day of the month.
hour
(optional) An integer representing the hour (in the 24-hour format).
minute
(optional) An integer representing the minutes.
second
(optional) An integer representing the seconds.
Example
Returns the datetime value 2019-01-31 16:30:00
(January 31, 2019 4:30 PM).
Last updated
Was this helpful?