DateFromJulianDay function

Returns a date from the given Julian day number.

Namespace

datetime

Input

date(date)

Output

date (date)

Example

If year contains the value 2010, month contains the value 12, and dayofmonth contains the value 2, then the two following functions are equivalent, and return the date 2010–12–02

set-column result datetime:DateFromComponents(2010, 12, 2) set-column result datetime:DateFromDaysSince(year, month, dayofmonth)

 

Created in 2020 by Google Inc.