COBOL - Funções intrínsecas - FORMATTED-DATETIME
The FORMATTED-DATETIME function uses a combined date and time format to convert and combine a date in the integer date form and a numeric time expressed as seconds past midnight to a formatted date and time representation according to that combined date and time format.
The type of this function depends on the type of argument-1 as follows:
If the first argument has the format "YYMMDDThhmmss.ss+hhmm", the second argument the value "143951", the third argument the value "18867.812479168304", and the fourth argument the value "+300", the returned value would be "19950215T05142781+0500".