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

greenwichApparentSiderealTimefunction

The Greenwich apparent sidereal time in degrees, 0 to 360: the mean time with the equation of the equinoxes added, which is what the hour angle of a body is measured against.

Import it

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

Definition

function greenwichApparentSiderealTime(when: When, dut1?: number): number

Parameters

NameTypeDescription
whenWhen

A Date or milliseconds since 1970 (UTC).

dut1 (optional)number

UT1 minus UTC in seconds, from the IERS; default 0.

Returns

number

Degrees.

Examples

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

console.log((greenwichApparentSiderealTime(Date.UTC(1987, 3, 10)) / 15).toFixed(4));
13.1795

What it prints (run when this page was built)

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