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