How to convert UTC timestamps to local time.

Document ID : KB000046247
Last Modified Date : 14/02/2018
Show Technical Document Details

Introduction:

As of release 18.5, the date-time stamps in log records are stored as UTC, not local time as it was previously.

There is no documented way to programmatically convert a UTC date-time stamp to local time.

However, IDMSIN01 with REQUEST-CODE=5 and DTS-FORMAT=7, can be used to perform such a conversion.

 

 

Instructions:

The attached cobol program, samputcl.txt is an example of how to do this.

 

Additional Information:

For more information, see “CA IDMS r18.5 Release Notes 2nd Edition” chapter 2 “New Features”, “Daylight Savings Time – UTC Time Stamps”.

For information on calling IDMSIN01, see “CA IDMS Callable Services Guide” chapter 3 “IDMSIN01” or https:\\docops.ca.com section IDMSIN01

File Attachments:
TEC1610613.zip