SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 58526: The ddmmyy10. format writes different values to different sheets when you are using the XLSX driver to export to EXCEL

DetailsHotfixAboutRate It

Date values formatted with the ddmmyy10. format might look different when you export data to Excel workbooks using the XLSX driver. Here are some examples:

ods listing close; proc sort data=sashelp.prdsale out=prdsale; by Country; run; data mydata; x = "01JAN2015"d; format x ddmmyy10.; run; /*---1st sheet OK, 2nd sheet wrong format---*/ proc export data=mydata dbms=xlsx outfile="C:\sastest\datumtest.xlsx"; sheet="test1"; run; proc export data=mydata dbms=xlsx outfile="C:\sastest\datumtest.xlsx"; sheet="test2"; run;

The value shown in the test1 sheet is 1/1/2015, and in the test2 sheet it is 1-Jan-15.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS/ACCESS Interface to PC FilesMicrosoft® Windows® for x649.4_M29.4 TS1M2
Microsoft Windows 8 Enterprise 32-bit9.4_M29.4 TS1M2
Microsoft Windows 8 Enterprise x649.4_M29.4 TS1M2
Microsoft Windows 8 Pro 32-bit9.4_M29.4 TS1M2
Microsoft Windows 8 Pro x649.4_M29.4 TS1M2
Microsoft Windows 8.1 Enterprise 32-bit9.4_M29.4 TS1M2
Microsoft Windows 8.1 Enterprise x649.4_M29.4 TS1M2
Microsoft Windows 8.1 Pro 32-bit9.4_M29.4 TS1M2
Microsoft Windows 8.1 Pro x649.4_M29.4 TS1M2
Microsoft Windows 109.4_M29.4 TS1M2
Microsoft Windows Server 20089.4_M29.4 TS1M2
Microsoft Windows Server 2008 R29.4_M29.4 TS1M2
Microsoft Windows Server 2008 for x649.4_M29.4 TS1M2
Microsoft Windows Server 2012 Datacenter9.4_M29.4 TS1M2
Microsoft Windows Server 2012 R2 Datacenter9.4_M29.4 TS1M2
Microsoft Windows Server 2012 R2 Std9.4_M29.4 TS1M2
Microsoft Windows Server 2012 Std9.4_M29.4 TS1M2
Windows 7 Enterprise 32 bit9.4_M29.4 TS1M2
Windows 7 Enterprise x649.4_M29.4 TS1M2
Windows 7 Home Premium 32 bit9.4_M29.4 TS1M2
Windows 7 Home Premium x649.4_M29.4 TS1M2
Windows 7 Professional 32 bit9.4_M29.4 TS1M2
Windows 7 Professional x649.4_M29.4 TS1M2
Windows 7 Ultimate 32 bit9.4_M29.4 TS1M2
Windows 7 Ultimate x649.4_M29.4 TS1M2
64-bit Enabled AIX9.4_M29.4 TS1M2
64-bit Enabled Solaris9.4_M29.4 TS1M2
HP-UX IPF9.4_M29.4 TS1M2
Linux for x649.4_M29.4 TS1M2
Solaris for x649.4_M29.4 TS1M2
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.