CurrentTime

STD.Date.CurrentTime ([in_local_time])

in_local_timeTRUE if the returned value should be local to the cluster computing the time, FALSE for UTC. Optional, defaults to FALSE.
Return:Today returns a time_t (An UNSIGNED3 holding a time of day in the decimal form HHMMDD.)

The CurrentTime function returns the current time. If the in_local_time parameter is TRUE the returned value is local to the cluster computing the time, if FALSE then the UTC is returned.

On containerized systems, servers are usually set to UTC making local time and UTC identical.

Example:

IMPORT STD;
t1 := STD.Date.CurrentTime(True); 
     //t1 contains the current local time of day