Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter NineDialog Functions (continued)

TimeControlGet Function

Overview

The TimeControlGet retrieves the time contents of a date/time control (“SysDateTimePick32” class common control) as a string in partial ISO-8601 format.

Syntax/Parameters

Syntax

string = TimeControlGet ( int id );

Parameters

id

An int containing the control ID of a date/time control.

Return Value

Returns a string containing the text or an empty string on failure or if the control does not contain any text. Use the GetLastError function to retrieve error information.

Remarks 

The return format is a truncated version of the ISO-8601 format less the time component or  hh:mm:ss  in 24-clock mode.

The locale setting will change the display of the time within the control but the return value is always 24-hour with seconds. Time zone information is not processed.

Related Functions

Platform Support

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

Legato IDE, Legato Basic