YEARMONTH
YearMonth is a representation of a specific year and month, without any day, hour, or time zone. It captures the calendar month in a given year and is often used for monthly reporting, billing cycles, and scheduling where day granularity is unnecessary.
In ISO-8601, a year-month value is written as YYYY-MM, such as 2024-07. Many programming languages provide a
Usage and storage: YearMonth is convenient for monthly aggregation, financial periods, or subscription terms. When persisting,
Considerations: Because it omits days, the concept does not express daily accuracy and can interact with end-of-month