The Date() function returns a date with the given year, month and day.

Syntax

Date(year, month, day)
Date(year, month, day, hour, minute)
Date(year, month, day, hour, minute, second)

Returns

A new date value.

Returns an unknown value if one the parameters is unknown or outside the common date boundaries.

Parameters

  • year – a number that is the year unit
  • month – a number that is the month unit
  • day – a number that is the day unit
  • hour – a number that is the time hour unit
  • minute – a number that is the time minute unit
  • second – a number that is the time second unit

Examples

Date(2017, 5, 31)
/* Returns '2017-5-31' */

Date(2017, 5, 31, 16, 27)
/* Returns '2017-5-31T16:27:00' */

 +31 (0)20 240 21 20       

Videos and images courtesy of WEM Modeler. © 2019. WEM Modeler.
SitemapPrivacy - Terms - Company

 +31 (0)20 240 21 20       


Videos and images courtesy of WEM Modeler.
© 2019 WEM Modeler.
SitemapPrivacy - Terms - Company