month()

The month returns the month of a time.

Synopsis

int time.month();

Description

Returns the month (1 ... 12) of a time t.

Return Value

Returns the month of a time.

Example

main()
{
  time t = getCurrentTime();
  DebugN("Month of the time:", t.month());
}

Assignment

Time function

Availability

UI,CTRL