I am not sure why you are getting 2011-11-23-07.34.12. But it as far as
the fractional part IWS currently only supports millisecond precision.

Can you post how you are defining the timestamp field in the RPG code?




"WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx> wrote on 06/25/2019 03:11:17
PM:

From: anshul narang <narang.anshul@xxxxxxxxx>
To: "Web Enabling the IBM i (AS/400 and iSeries)"
<web400@xxxxxxxxxxxxxxxxxx>
Date: 06/25/2019 03:11 PM
Subject: [EXTERNAL] [WEB400] IWS: Input Timestamp Precision issues
Sent by: "WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx>

HI All

I am having issues with timestamps in IWS. I am passing timestamp like
'2019-06-21T14:54:22.677325' and I am getting the
timestamp
in the Rpgle programs as
2011-11-23-07.34.12.123000.

I tried doing precisions as well in PCML.
I tried setting timezone in Server Properties file as well.
It didnt help . Any ideas?





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.