Skip to content

Modern Chrono LocalDate Month

Paul Squires edited this page Oct 19, 2026 · 5 revisions

Home › Date and Time (Chrono) › Chrono Date and Time › LocalDate.Month

LocalDate.Month

Returns the month, 1 to 12.

Syntax

LocalDate.Month

Examples

#import "std/chrono"
using chrono

print LocalDate( 2026, 8, 13 ).Month      '' 8

'' 1 to 12, ONE-BASED -- January is 1, not 0
print LocalDate( 2026, 1, 1 ).Month       '' 1

Library: Chrono Date and Time
Category: Date and Time (Chrono)
Documented under: The Members

Clone this wiki locally