method
DateTime.second
DateTime.second(dt) -> int
The second within the minute of the instant dt (UTC), 0–59.
Example
program Demo {
handler Step phase Update {
let s = DateTime.second(DateTime.from(2000, 1, 1, 12, 30, 15)) # 15
}
}