E-QR: Datetime Format Issue When Exporting Query Results To Excel
(Doc ID 1954051.1)
Last updated on FEBRUARY 22, 2023
Applies to:
PeopleSoft Enterprise PT PeopleTools - Version 8.53 and laterInformation in this document applies to any platform.
*** ***
Symptoms
When attempting to create a PSQuery with datetime fields format, then download the Query to Excel, the output results does not display correctly, the datetime format uses 24h format, while the User Personalization and Regional settings are set to 12 hour clock.
The issue does not happen when downloading the output results to CSV.
Steps:
The issue can be reproduced at will with the following steps:
1. Login to PIA
2. Navigate to Reporting Tools > Query > Query Manager
3. Create a new PSQuery based on the following Query SQL
SELECT TO_CHAR(CAST((A.LASTUPDDTTM) AS TIMESTAMP),'YYYY-MM-DD-HH24.MI.SS.FF')
FROM PS_ORD_HEADER A
WHERE ( A.LASTUPDDTTM < TO_TIMESTAMP(:1,'YYYY-MM-DD-HH24.MI.SS.FF') )
4. Run the query to HTML - the output results are correctly displayed in 12h format
5. Download the Query to Excel - the output results appear in 24h format.
Changes
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 |
Changes |
Cause |
Solution |
References |