Skip to content

Abbreviated Month Date

Type Registry

Abbreviated Month Date

datetime.date.abbreviated_month

Date with three-letter abbreviated month name. Locale-specific because month abbreviations vary by language (Jan vs janv vs Gen).

Domain datetimedate
Casts to DATE
Scope Locale-specific
Locales EN, FR, DE, ES, IT, PT, NL, SV, DA, NO, PL, CS, RU, JA, ZH

Try it

CLI
$ finetype infer -i "Jan 15, 2024"
→ datetime.date.abbreviated_month

DuckDB

Detect
SELECT finetype('Jan 15, 2024');
-- → 'datetime.date.abbreviated_month'
Cast expression
strptime({col}, '%b %d, %Y')::DATE
Format: %b %d, %Y
Safe cast pipeline
-- Normalise and cast in one step
SELECT TRY_CAST(finetype_cast(my_column) AS DATE) AS clean_value
FROM my_table
WHERE finetype(my_column) = 'datetime.date.abbreviated_month';

JSON Schema

finetype schema datetime.date.abbreviated_month
{
  "$id": "https://noon.sh/schemas/datetime.date.abbreviated_month",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "Date with three-letter abbreviated month name. Locale-specific because month abbreviations vary by language (Jan vs janv vs Gen).",
  "examples": [
    "Jan 15, 2024",
    "Dec 31, 2019",
    "Jun 01, 2000"
  ],
  "pattern": "^[A-Za-z]{3} \\d{2}, \\d{4}$",
  "title": "Abbreviated Month Date",
  "type": "string"
}

Examples

Jan 15, 2024Dec 31, 2019Jun 01, 2000

Types in datetime