API Reference › DateTime › DateTime.minute
method

DateTime.minute

DateTime.minute(dt) -> int

The minute within the hour of the instant dt (UTC), 0–59.

Example

program Demo {
  handler Step phase Update {
    let mi = DateTime.minute(DateTime.from(2000, 1, 1, 12, 30, 15))   # 30
  }
}
← All symbols