Skip to the content

Wakusei Planets惑星

The Sun, the planets and their moons as a clean line drawing, a shaded realistic drawing or a painted surface map, with real sizes, tilt and rotation, and the moons where they are at any date and time.

Wakusei is the Japanese word 惑星 for a planet. About the name

Contents

Reference · Julian dates (and the julian package's functions), calendars, time scales, sidereal time and Mars time

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

NameTypeDescription
whenWhen

A Date or milliseconds since 1970 (UTC).

scale (optional)"tt" | "utc"

"tt" (the default) or "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.999981

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/wakusei-planets 0.24.0.