mirror of
https://github.com/acamarata/moon-cycle.git
synced 2026-06-30 18:54:29 +00:00
623 B
623 B
moon-cycle / YEAR_ANCHOR
Variable: YEAR_ANCHOR
constYEAR_ANCHOR:Date
Defined in: types.ts:101
Anchor date for the yearly cycle: start of the 2023 NASA image collection.
The 8,760 images correspond to one per hour for the full calendar year
2023. cycleYear measures elapsed time from this reference point.
Example
import { YEAR_ANCHOR } from 'moon-cycle';
const hours = (Date.now() - YEAR_ANCHOR.getTime()) / 3600000;