daylightsaving()
Checks whether the time is winter time or summer time.
Synopsis
bool daylightsaving(time t);
Parameters
Parameter | Meaning |
---|---|
t | time |
Return Value
"true"; for summer time, "false"; for winter time.
Description
Indicates whether a time t is summer or winter time.
Example
main()
{
time t;
t=makeTime(1998,6,13,12,00); DebugN(daylightsaving(t)); // True
t=makeTime(1998,12,24,12,00); DebugN(daylightsaving(t)); // False
}
Assignment
time function
Availability
CTRL