month property
int
get
month
The month component of the date (1–12).
Example:
final dt = LocalDateTime.of(2025, 6, 27, 14, 30);
final month = dt.month;
Implementation
int get month => date.month;
The month component of the date (1–12).
final dt = LocalDateTime.of(2025, 6, 27, 14, 30);
final month = dt.month;
int get month => date.month;