datefromparts

Returns a date-only value with given numerical year, month and day values.

Function

result = datefromparts(year, month, day)

Arguments

ArgumentData Type
yearinteger
monthinteger
dayinteger
resultdate

Comments

Converts individual numbers into a date result.

This function operates without regard to the local time zone. See Dates, Times and Time Zones.

Examples

result = datefromparts(2019,1,10) /* result is the date 10 January 2019 */