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 later
Information in this document applies to any platform.
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.
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.
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