IsDaylight - method of the Pm object
Detects the setting of the "daylight-saving time" in the entered time.
Long IsDaylight([Date tDate])
|tDate||[optional] (Date) Time in which the setting of the "daylight-saving time" has to be tested. If the parameter is omitted, then the current time is used.|
0 - it isn't "daylight-saving time"
1 - it is "daylight-saving time"
var bIsDaylight = Pm.IsDaylight();
: Fixed bug:
during the one hour when the time is switched from daylight-saving time to standard time, returned invalid flag.