× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi,

I hope this code may help (free after Scott Klement / Carsten Flensburg))

**-- Get UTC Offset:
D CEEUTCO PR
D UTCHours 10I 0
D UTCMinutes 10I 0
D UTCSeconds 8F
D UTCFeedbk 12A OPTIONS(*OMIT)

D UTCOffset S 10I 0 inz(*hival)
D UTCHours S 10I 0
D UTCMinutes S 10I 0
D UTCSeconds S 8F


// If the UTCOffset is *hival (initial value)
// then get the number of seconds for the UTC offset
If UTCOffset = *Hival;
callp CEEUTCO (UTCHours: UTCMinutes: UTCSeconds: UTCFeedbk);
If Fbk_msgsev > 0;
UTCOffset = 0;
Else;
UTCOffset = UTCSeconds;
Endif;
Endif;

// Timestamp is adjusted with the UTC time value
CreDtTmStmp = %timestamp();
CreDtTmStmp = CreDtTmStmp - %seconds(UTCOffset);

Regards,

Loek Maartens

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.