Skip to content

parseSsimDate

  • Airline schedule dates in IATA SSIM files, METAR and TAF report times with no month, and NOTAM validity times.
parseSsimDate(value: string, options: TwoDigitYearOptions): string

Parse an SSIM schedule date as an ISO 8601 date.

  • What it reads. An SSIM date is DDMMMYY: two digits of day, the first three letters of the month’s English name in upper case (JAN … DEC), and two digits of year. The result is an ISO PlainDate string.
  • Locale-independent. The month letters are a fixed code, not a translation. They are never read through Intl, so the platform’s or the caller’s locale changes nothing. Lower and mixed case (jan, Jan) and other languages (ENE, JANV) return "".
  • The century is the caller’s. options.yearWindow places YY in a hundred-year window: a fixed first year, for stored schedules, or "rolling", for live feeds. Without yearWindow the result is "".
  • Days must exist. A day that does not exist in that month and windowed year returns "". 29FEB00 is a date in a window from 2000, and not in one from 1900.
  • Sources. The day and the month letters: SSIM Chapter 6, as two guides give it. They are ACL’s An Introductory Guide to SSIM (April 2021), which shows 01APR, and AECFA’s Quick Guide to Using the IATA SSIM format, which is no longer online. The seven-character form: EUROCONTROL’s CSST Users Guide §3.2 Figure 1. Avinor’s SSIM description shows a two-digit year in the validity period. IATA’s own Chapter 7 text was not reached.
ParameterTypeDescription
valuestringAn SSIM date, DDMMMYY (e.g. “01JAN26”)

options

The hundred-year window a two-digit year is read in

Type: TwoDigitYearOptions.

OptionTypeDefaultDescription
yearWindow?number | "rolling"None. A value with a two-digit year returns the sentinel: no standard says which century it belongs to, so the caller states it.The hundred-year window a two-digit year falls in. A number is the first year of a fixed window, an integer from 0 to 9900: 2000 reads 00–99 as 2000–2099; 1950 reads 50–99 as 1950–1999 and 00–49 as 2000–2049. A fixed window gives the same answer in any year, so it is the form for stored data, archives and anything re-processed later. "rolling" is the hundred years around today: from 50 years before the current UTC calendar year to 49 years after it (in 2026, 1976–2075). It is the form for live messages and never needs maintenance, but it gives a different answer for the same stored value as years pass. Any other value returns the function’s sentinel.

the ISO date (“2026-01-01”), or "" on invalid input

import { parseSsimDate } from "@northguild/gmt/aviation/parse";
parseSsimDate("01JAN26", { yearWindow: 2000 }) // "2026-01-01"
output 

aviation/parse/parseSsimDate.ts

© 2026 NorthGuild · Licences

Code examples: MIT-0. Packages: MIT. Third-party data and components: their own licences, credited where they appear. Everything else: © 2026 NorthGuild, all rights reserved.