COBOL - Funções intrínsecas - FORMATTED-TIME
The FORMATTED-TIME function uses a format to convert a value that represents seconds past midnight to a formatted time of day in the requested format.
The type of this function depends on the type of argument-1 as follows:
If the first argument has the format "hhmmss.ss+hhmm", the second argument the value 18867.812479168304" which represents the local time, and the third argument the value "-300", which represents the five hours that Eastern Standard Time (EST) differs from UTC, the returned value would be "05142781-0500".