Creates a Date
for the specified year, month, and day.
year as Number, month as Number, day as Number
) as Date
- year as Number — Four-digit year.
- month as Number — Month (1-12).
- day as Number — Day (1-31).
— A new Date
dim x = DateFromParts(2021, 3, 12)