Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter FiveGeneral Functions (continued)

IsDaylightSavingsTime Function

Overview

The IsDaylightSavingsTime function tests the current locale as to whether daylight savings time is supported and whether the current date is in the daylight savings time calendar.

Syntax/Parameters

Syntax

boolean = IsDaylightSavingsTime ( );

Parameters

(none)

 

Return Value

Returns a boolean as TRUE, FALSE or -1. On failure, function returns -1. Use GetLastError or IsError to determine if an error occurred or if daylight savings time is not supported.

Remarks

The last error should be checked to differentiate between an error versus a locale not supporting daylight savings time.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic