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

marsLocalMeanSolarTimefunction

The local mean solar time on Mars at a longitude east of its prime meridian, in hours from 0 up to 24.

Import it

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

Definition

function marsLocalMeanSolarTime(when: When, longitude: number): number

Parameters

NameTypeDescription
whenWhen

A Date or milliseconds since 1970 (UTC).

longitudenumber

Degrees east (Jezero Crater is 77.45).

Returns

number

Hours.

Examples

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

console.log(marsLocalMeanSolarTime(Date.UTC(2021, 1, 18, 20, 55), 77.45).toFixed(1));
16.1

What it prints (run when this page was built)

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