daySecond()

Returns the seconds of the day.

Synopsis

int daySecond(time t);

Parameters

Parameter Meaning
t time

Return Value

Second as int.

Description

Returns the seconds of the day (0 ...86399 since 00:00) of a time t.

Example

main()
{
  time t;
  t = makeTime(1999,8,18,12,00);
  DebugN(daySecond(t));
// outputs 43200
}

Assignment

time function

Availability

CTRL