Print Thread
Page 1 of 2 1 2
9.0 Date Export to Excel - Different Format in .xls and .xlsx
#41813 08/08/11 11:30 AM
Joined: Aug 2011
Posts: 3
S
Member
OP Offline
Member
S
Joined: Aug 2011
Posts: 3
When I export from PL/SQL Developer to a .xls file, the date format is m/d/yyyy. When I export to .xlsx the format is dd-mm-yyyy. My date format in PL/SQL Preferences (NLS Options) is M/d/yyyy. I would expect the same format to be used whether exporting to .xls or .xlsx, preferrably respecting my date choice in the PL/SQL Preferences. It is inconvenient to have to select and reformat all dates once then have been exported to a .xlsx file. My other option is to export to .xls and then do a Save As .xlsx. This is a workaround, but also inconvenient when I forget to change format.
- Scott

Re: 9.0 Date Export to Excel - Different Format in .xls and .xlsx
Scott Neville #41814 08/08/11 11:35 AM
Joined: Aug 1999
Posts: 22,226
Member
Offline
Member
Joined: Aug 1999
Posts: 22,226
We're looking into this issue right now.


Marco Kalter
Allround Automations
Re: 9.0 Date Export to Excel - Different Format in .xls and .xlsx
Marco Kalter #42028 08/30/11 11:17 AM
Joined: Aug 2011
Posts: 3
S
Member
OP Offline
Member
S
Joined: Aug 2011
Posts: 3
Were you able to duplicate the issue?

Re: 9.0 Date Export to Excel - Different Format in .xls and .xlsx
Scott Neville #42038 08/31/11 09:46 AM
Joined: Aug 1999
Posts: 22,226
Member
Offline
Member
Joined: Aug 1999
Posts: 22,226
Yes. The issue is fixed for the upcoming 9.0.1 patch release. You can download a pre-release here.


Marco Kalter
Allround Automations
Re: 9.0 Date Export to Excel - Different Format in .xls and .xlsx
Scott Neville #42361 09/29/11 02:59 PM
Joined: Aug 2011
Posts: 3
S
Member
OP Offline
Member
S
Joined: Aug 2011
Posts: 3
I am running 9.0.1.1613 now and when I export dates to Excel (xlsx) they come out in the format 2/1/2008 9:21:41 A2P2 instead of 2/1/2008 9:21:41 AM. The latter is how dates appear when I export to the older .xls file type.

Re: 9.0 Date Export to Excel - Different Format in .xls and .xlsx
Scott Neville #42369 09/30/11 09:38 AM
Joined: Aug 1999
Posts: 22,226
Member
Offline
Member
Joined: Aug 1999
Posts: 22,226
We'll check it out.


Marco Kalter
Allround Automations
Re: 9.0 Date Export to Excel - Different Format in .xls and .xlsx
Marco Kalter #42872 12/05/11 07:11 PM
Joined: Jan 2010
Posts: 6
B
Member
Offline
Member
B
Joined: Jan 2010
Posts: 6
I am running 9.0.3.1641 and I'm still seeing the same issues with exporting to XLSX, where the time format is incorrect.

In the PL/SQL Developer Preferences screen, I'm snowing that for both Date & Time, I have selected 'Windows format'. When I run
[quote]select sysdate from dual;[/quote] I get the following output:
[quote]12/5/2011 2:08:20 PM[/quote]

When I export that to XLSX, I get the following:
[quote]12/5/2011 14:08:20 A12P12[/quote]

If I right click on that cell and select format, the format is showing as Custom, using the code
[quote] m\/d\/yyyy h:mm:ss \AmPm [/quote]


Re: 9.0 Date Export to Excel - Different Format in .xls and .xlsx
bsullivan #42876 12/06/11 11:13 AM
Joined: Aug 1999
Posts: 22,226
Member
Offline
Member
Joined: Aug 1999
Posts: 22,226
We'll check it out.


Marco Kalter
Allround Automations
Re: 9.0 Date Export to Excel - Different Format in .xls and .xlsx
Marco Kalter #42936 12/13/11 01:36 PM
Joined: Aug 1999
Posts: 22,226
Member
Offline
Member
Joined: Aug 1999
Posts: 22,226
Can you get the windows date time format for me?


Marco Kalter
Allround Automations
Re: 9.0 Date Export to Excel - Different Format in .xls and .xlsx
Marco Kalter #42946 12/14/11 07:49 PM
Joined: Mar 2000
Posts: 204
Akron, OH, USA
Member
Offline
Member
Joined: Mar 2000
Posts: 204
Akron, OH, USA
I see this also when exporting as xslx.

Page 1 of 2 1 2

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.043s Queries: 16 (0.011s) Memory: 2.5599 MB (Peak: 3.0406 MB) Data Comp: Off Server Time: 2024-06-01 03:15:30 UTC
Valid HTML 5 and Valid CSS