× 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.



The standard that is followed is ISO (international Organization for
Standardization for representation of dates and times, and may be
referenced by RFC 3339 (https://tools.ietf.org/html/rfc3339). To
summarize:
DATE:
YYYY-MM-DD[Z|(+|-)hh:mm]
Valid date values:
1971-01-01
1971-01-01Z
1971-01-01+05:00
TIME:
hh:mm:ss[Z|(+|-)hh:mm]
Valid time values:
15:35:30
15:35:30Z
15:35:30-05:00
DATETIME:
YYYY-MM-DDThh:mm:ss.sss[Z|(+|-)hh:mm]
Valid dateTime values:
1971-01-01T15:35:30
1971-01-01T15:35:30.123
1971-01-01T15:35:30Z
1971-01-01T15:35:30-05:00

"MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> wrote on 07/04/2019
02:20:05 AM:

From: Don Brown <DBrown@xxxxxxxxxx>
To: MIDRANGE-L (midrange-l@xxxxxxxxxxxxxxxxxx)
<midrange-l@xxxxxxxxxxxxxxxxxx>
Date: 07/04/2019 02:20 AM
Subject: [EXTERNAL] Dates received in JSON string
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxxxxxxxx>

I am working on a new project and the first lot of test data i have
received includes date stamps in the format

"licence_expiry": "2020-01-01T07:53:00+00:00",

After a quick browse of the ILE RPG Reference I am not seeing any format

of the date data type that matches this format.

Am I just not looking hard enough or how would this be best processed in

ILE RPG ?

As this data will be going into an existing database the dates and times

are stored as numeric fields.

So I am really just wanting to retrieve the date and time values but I
am
not understanding the last +00:00 ? Is this time zone or time offset
related ?

Thanks for any assistance



Don Brown


______________________________________________________________________
This email has been scanned for computer viruses. Although MSD has
taken reasonable precautions to ensure no viruses are present in
this email, MSD cannot accept responsibility for any loss or damage
arising from the use of this email or attachments.
______________________________________________________________________
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://urldefense.proofpoint.com/v2/url?

u=https-3A__lists.midrange.com_mailman_listinfo_midrange-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-
siA1ZOg&r=1i-jGlz0-JTK1aLHcsU-

ew&m=My782Js5jyYoJPv0TVpSBJZV1EHlTo2ocC2sQ5yXt2M&s=x4GXvUJCGPs8_E8vX8Rf3Xg39xP7GgZIBrtzlOd55HY&e=
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://urldefense.proofpoint.com/v2/url?
u=https-3A__archive.midrange.com_midrange-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-
siA1ZOg&r=1i-jGlz0-JTK1aLHcsU-

ew&m=My782Js5jyYoJPv0TVpSBJZV1EHlTo2ocC2sQ5yXt2M&s=D9enCeO2E5g252YuoUWzrgd-98tIDQFV9V6i23VUZOQ&e=
.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://urldefense.proofpoint.com/v2/url?
u=https-3A__amazon.midrange.com&d=DwICAg&c=jf_iaSHvJObTbx-
siA1ZOg&r=1i-jGlz0-JTK1aLHcsU-

ew&m=My782Js5jyYoJPv0TVpSBJZV1EHlTo2ocC2sQ5yXt2M&s=49st27SxbTq1k0UqB41vdl6C7C3rrcP4uX3gkueWWlw&e=




As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.