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

taiMinusUtcfunction

TAI minus UTC in seconds: the leap seconds from 1972 (10 then, 37 since 2017), and before 1972 delta T less 32.184, which is how far the atomic scale would have been from the Earth's turn.

Import it

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

Definition

function taiMinusUtc(when: When): number

Parameters

NameTypeDescription
whenWhen

A Date or milliseconds since 1970 (UTC).

Returns

number

Seconds to add to UTC to get TAI.

Examples

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

console.log(taiMinusUtc(Date.UTC(2026, 10, 7)));
37

What it prints (run when this page was built)

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