How to convert UTC timestamps to local time.
search cancel

How to convert UTC timestamps to local time.

book

Article ID: 46247

calendar_today

Updated On:

Products

IDMS IDMS - Database IDMS - ADS

Issue/Introduction

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

Environment

Release: IDADSO00100-18.5-ADS-for CA-IDMS
Component:

Attachments

1558534699410TEC1610613.zip get_app