dayOfMonth
DayOfMonth refers to the day component of a calendar date, indicating the day within the current month. For example, the date 2025-04-23 has a dayOfMonth of 23. The term is used across many date and time representations to separate the month and year from the day.
The typical range for dayOfMonth is 1 through 31. Each month has a different maximum day, with
In software development, dayOfMonth is a standard field in date/time types. It is often exposed as a
Operations involving dayOfMonth interact with month length. Adding or subtracting days can roll the date into
See also: day of week, day of year, calendar arithmetic, ISO date.