second()

Returns the seconds part (0 ... 59) of a time t.

Synopsis

int second(time t);

Parameters

Parameter Description
t Time

Description

Outputs the seconds part of a time.

Example

main()
{
  time t;
  t = makeTime(1999,8,18,13,40,10,50);
  DebugN(second(t));
// 10
}

Assignment

Time function

Availability

CTRL