Problem Note 36667: Time values that exceed 24 hours do not properly export when you use the EXCEL engine
Time values that are greater than 24 hours are not exported properly when you use the
EXCEL engine to export data to Microsoft Excel. The following example illustrates code
that contains a time value greater than 24 hours:
data toto;
input time time8.;
timeTime8=time;
format timeTime8 time8.
cards;
48:05:08
;
run;
proc export data=toto outfile="filename.xls" dbms=excel;
sheet="sheet-name";
run;
When the time value is displayed in Excel, it is displayed as
1/0/1900 12:05:08 AM. To
resolve this problem, do one of the following:
Operating System and Release Information
SAS System | SAS/ACCESS Interface to PC Files | Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 | 9.2 TS2M2 |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 | 9.2 TS2M2 |
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 | 9.2 TS2M2 |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 | 9.2 TS2M2 |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 | 9.2 TS2M2 |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 | 9.2 TS2M2 |
Microsoft Windows XP Professional | 9.1 TS1M3 | 9.2 TS2M2 |
Windows Vista | 9.1 TS1M3 | 9.2 TS2M2 |
*
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.
Type: | Problem Note |
Priority: | medium |
Topic: | Data Management ==> Data Sources ==> External Databases ==> MS Excel
|
Date Modified: | 2009-08-04 14:03:29 |
Date Created: | 2009-07-30 14:29:50 |