Skip to content

Modern Chrono DateTime Month

Paul Squires edited this page Oct 19, 2026 · 1 revision

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

DateTime.Month

Returns the month, 1 to 12.

Syntax

DateTime.Month

Examples

#import "std/chrono"
using chrono

dim as DateTime d = DateTime( 2026, 8, 13, 14, 30, 5, 123 )
print d.Month                '' 8 -- ONE-BASED, January is 1
print DateTime.MonthName( d.Month )      '' August

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

Clone this wiki locally