Meridianmeridian

Full Month Year

datetime.date.month_year_full

Full month name followed by 4-digit year. No day component. Financial reports, government statistical publications.

Domain
datetime
Category
date
Casts to
DATE
Scope
Universal

Try it

CLI
$ finetype infer -i "January 2024"
→ datetime.date.month_year_full

DuckDB

Detect
SELECT finetype('January 2024');
-- → 'datetime.date.month_year_full'
Cast expression
strptime('01 ' || {col}, '%d %B %Y')::DATE
-- Format: %B %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.month_year_full';

JSON Schema

finetype schema datetime.date.month_year_full
{
  "$id": "https://meridian.online/schemas/datetime.date.month_year_full",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "Full month name followed by 4-digit year. No day component. Financial reports, government statistical publications.",
  "examples": [
    "January 2024",
    "December 2023",
    "June 2000"
  ],
  "maxLength": 14,
  "minLength": 8,
  "pattern": "^[A-Z][a-z]+ \\d{4}$",
  "title": "Full Month Year",
  "type": "string",
  "x-finetype-broad-type": "DATE",
  "x-finetype-format-string": "%B %Y",
  "x-finetype-transform": "strptime('01 ' || {col}, '%d %B %Y')::DATE"
}

Examples

January 2024December 2023June 2000