@technobuddha > library > Time > Julian
Function: julian()
ts
function julian(input: Date): number;Defined in: julian.ts:11
Get the Julian date (number of days since noon on Monday, January 1 4713 BCE)
Parameters
| Parameter | Type | Description |
|---|---|---|
input | Date | The date and time to convert |
Returns
number
The julian date.
Remarks
Julian dates are always in the UTC timezone