GoFiler Legato Script Reference
Legato v 1.5b Application v 5.24b
|
Table of Contents | < < Previous | Next >> |
Chapter Five — General Functions (continued)
Overview
The GetTimeZoneOverride function returns the status of a local time zone override.
Syntax/Parameters
Syntax
string = GetTimeZoneOverride ( );
Parameters
(none)
Return Value
Returns a string with the name of the time zone be used as a locale override or empty on failure. Empty can also mean there is not an override. Use GetLastError or IsError to determine if an error occurred or the locale is GMT. GetLastErrorMessage can be used to determine if there was an error set by the override.
Remarks
A time zone override is set within the application ini file using the following code:
[Locale Override]
Time Zone=Pacific Standard Time
The time zone name must match a Windows defined name. If an error occurs during setup, the error detail will be placed in the string retrieved through the GetLastErrorMessage function.
Note that this setting is read the first time a local date is requested, which of course occurs on application startup while building the application log. If an error occurs, the ini entry must be corrected and the application restarted.
If the time zone has been overridden, the GetLocalTimeForZone function can be used to get the time for the computer’s locale.
Related Functions
Platform Support
Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL
Legato IDE, Legato Basic
Table of Contents | < < Previous | Next >> |
© 2012-2024 Novaworks, LLC. All rights reserved worldwide. Unauthorized use, duplication or transmission prohibited by law. Portions of the software are protected by US Patents 10,095,672, 10,706,221 and 11,210,456. GoFiler™ and Legato™ are trademarks of Novaworks, LLC. EDGAR® is a federally registered trademark of the U.S. Securities and Exchange Commission. Novaworks is not affiliated with or approved by the U.S. Securities and Exchange Commission. All other trademarks are property of their respective owners. Use of the features specified in this language are subject to terms, conditions and limitations of the Software License Agreement.