quarter()

The function returns the quarter portion (1 to 4) of a time t.

Synopsis

int time.quarter();

Description

The function returns the quarter of a time.

Return Value

The quarter portion (1 to 4) of a time t.

Example

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

Assignment

Time function

Availability

UI,CTRL