IBM Z and LinuxONE Languages

Languages

Languages

Broad range of supported development languages and tools allows to transform software delivery practices.

 View Only

C localtime() function after time change

  • 1.  C localtime() function after time change

    Posted Tue June 14, 2022 09:16 AM
    Is there something in the C localtime() function that is ties to a TCB?

    I have a multi-task program running as a started task that was running across a change to daylight savings time. The long running subtasks that ran across the time change had the wrong time after the move to daylight savings time. The short running subtasks that did not run across the time change had the correct time.

    A restart of the started task cleared the issue, but having to restart when the time changes is not desirable.

    The time offsets that I am aware of are in the CVT extension, however, it would appear that the localtime() function may do something at the task level.

    Any help or direction would be greatly appreciated.

    ------------------------------
    Paul Scott
    ------------------------------