UTCSECS

UTCSECS returns a FLOAT BIN(53) value that gives the current Coordinated Universal Time (UTC) in seconds in the Lilian format.

Read syntax diagramSkip visual syntax diagramUTCSECS()
If you define a variable to hold a number of quarter-hours as
dcl qh fixed dec(5,2);
then
qh = 15*round(fixeddec((secs()-utcsecs())/900,7,2),0);
will set it to the UTC offset as a number of quarter-hours, and the expression
edit((qh/60),'S99') || ':' || edit(rem(qh,60),'99')
will be a char(6) string holding the UTC offset in the usual format. For example, as -08:00 for California and +05:45 for Nepal.