My Oracle Support Banner

E-IB/E-ES: JSON.GetDateTime() is Working only when the Decimal Point is Set for only Three Decimals (Doc ID 2800694.1)

Last updated on AUGUST 25, 2021

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.58 and later
Information in this document applies to any platform.

Symptoms

JSON.GetDateTime() is working only when the decimal point is only three decimals. Where as the DateTimeValue() can recognize decimals of different length.

Eg: 2021-04-28T12:45:03.8889494Z
Here decimal points(8889494) are of length 7 in the milliseconds part of the time. According ISO 8601 - standards there is no limit on the number decimal point for a date time.


The issue can be reproduced at will with the following steps:
1. In Application Desiner, add the following PeopleCode on a button in PSTESTUTIL page

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.