Problem Note 42092: MINGUO format does not handle 3-digit year properly for widths 7 and 9
The MINGUOw. format uses a base year of 1911. Starting on January 1, 2011, three digits are used to represent the year.
In the case of MINGUO7. and MINGUO9., there is room for a third year digit, but instead '**' appears in the year field.
Operating System and Release Information
SAS System | Base SAS | z/OS | 9.1 TS1M3 SP1 | 9.3 TS1M0 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP1 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 SP1 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 SP1 | 9.3 TS1M0 |
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP1 | 9.3 TS1M0 |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP1 | |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP1 | |
Microsoft Windows 2000 Server | 9.1 TS1M3 SP1 | |
Microsoft Windows 2000 Professional | 9.1 TS1M3 SP1 | |
Microsoft Windows NT Workstation | 9.1 TS1M3 SP1 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP1 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP1 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP1 | 9.3 TS1M0 |
Microsoft Windows XP Professional | 9.1 TS1M3 SP1 | 9.3 TS1M0 |
Windows Vista | 9.1 TS1M3 SP1 | 9.3 TS1M0 |
Windows Vista for x64 | 9.1 TS1M3 SP1 | 9.3 TS1M0 |
64-bit Enabled AIX | 9.1 TS1M3 SP1 | 9.3 TS1M0 |
64-bit Enabled HP-UX | 9.1 TS1M3 SP1 | 9.3 TS1M0 |
64-bit Enabled Solaris | 9.1 TS1M3 SP1 | 9.3 TS1M0 |
HP-UX IPF | 9.1 TS1M3 SP1 | 9.3 TS1M0 |
Linux | 9.1 TS1M3 SP1 | 9.3 TS1M0 |
OpenVMS Alpha | 9.1 TS1M3 SP1 | 9.3 TS1M0 |
Tru64 UNIX | 9.1 TS1M3 SP1 | 9.3 TS1M0 |
*
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.
This shows that writing a date after 1/1/2011 with MINGUO9. shows asterisks for the year.
data _null_;
date='11jan2011'd;
put date=minguo9.;
run;
/* output written to the log */
date=**/01/11
Type: | Problem Note |
Priority: | high |
Topic: | SAS Reference ==> Formats ==> Date and Time ==> MINGUO
|
Date Modified: | 2011-01-18 15:35:06 |
Date Created: | 2011-01-14 08:33:53 |