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

fromJulianDatefunction

The time, in milliseconds since 1970, of a Julian date.

Import it

import { fromJulianDate } from "@johnmorrisdotca/wakusei-planets/time";

Definition

function fromJulianDate(jd: number): number

Parameters

NameTypeDescription
jdnumber

The Julian date.

Returns

number

Milliseconds since 1970.

Examples

import { fromJulianDate } from "@johnmorrisdotca/wakusei-planets/time";

console.log(new Date(fromJulianDate(2451545)).toISOString());
2000-01-01T12:00:00.000Z

What it prints (run when this page was built)

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