API Reference › Date › Date.month
method

Date.month

Date.month(date) -> int

The calendar month of a Date, from 1 (January) to 12 (December).

Example

program Demo {
  handler Step phase Update {
    let m = Date.month(Date.new(2026, 8, 30))  # 8
  }
}
← All symbols