julianMillenniafunction
Julian millennia (365,250 days) from J2000.0, in terrestrial time unless scale says UTC: the time argument of the VSOP87 series.
Import it
import { julianMillennia } from "@johnmorrisdotca/wakusei-planets/time";
Definition
function julianMillennia(when: When, scale?: "tt" | "utc"): number
Parameters
| Name | Type | Description |
|---|---|---|
when | When | A |
scale (optional) | "tt" | "utc" |
|
Returns
number
Julian millennia, negative before 2000.
Examples
import { julianMillennia } from "@johnmorrisdotca/wakusei-planets/time";
console.log(julianMillennia(Date.UTC(3000, 0, 1, 12)).toFixed(6));0.999981What it prints (run when this page was built)