E-QR: Datetime Format Issue When Exporting Query Results To Excel
Last updated on FEBRUARY 13, 2018
Applies to:PeopleSoft Enterprise PT PeopleTools - Version 8.53 and later
Information in this document applies to any platform.
*** Checked for relevance on 12-September-2016 ***
*** Checked for relevance on 13-February-2018 ***
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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms