method
DateTime.month
DateTime.month(dt) -> int
The calendar month of the instant dt (UTC), 1–12.
Example
program Demo {
handler Step phase Update {
let m = DateTime.month(DateTime.from(2000, 3, 9, 0, 0, 0)) # 3
}
}DateTime.month(dt) -> int
The calendar month of the instant dt (UTC), 1–12.
program Demo {
handler Step phase Update {
let m = DateTime.month(DateTime.from(2000, 3, 9, 0, 0, 0)) # 3
}
}