JulianDayFromDate function

Returns a Julian day number from the given date.

Namespace

datetime

Input

date(date)

Output

Julian day(long)

Example

If basedate contains the date 2008–05–27, then the two following functions are equivalent, and return the value 2454614.

set-column result datetime:JulianDayFromDate('2008-05-27') set-column result datetime:JulianDayFromDate(basedate)

 

Created in 2020 by Google Inc.