DateTimeFromParts

Creates a datetime from the year, month, day, hours, minutes, and seconds values

DateTimeFromParts(2023,2,8,14,20,1) → 2023-02-08 14:20:01.000
DateTimeFromParts(2019,5,29,7,56,0) → 2019-05-29 07:56:00.000

Inputs

DateTimeFromParts(year, month, day, hour, minutes, seconds)

  • year - Year value as a number

  • month - Month value as a number

  • day - Day value as a number

  • hour - Hour value as a number

  • minutes - Minutes value as a number

  • seconds - Seconds value as a number

Last updated