SAS Support Site Home | Samples and SAS Notes Home
SAS Notes V6-FORMATS-F858
EURDFWKX format omits leading zero on 2-digit year display of Y2K dates


The EURDFWKXw. format does not display the leading zero for year values of 2000-2009 when the format width specified produces a 2-digit year. The EURDFWKXw. format writes international date values in the form: day-of-week, dd month-name yy (or yyyy). The international language selection is done by either specifying the DFLANG= SAS system option, or by using the 3 character language prefix directly on the format name. The width to produce a 2-digit year depends upon the language selected. Following is an example that produces the 2-digit Y2K year value withoutthe leading zero:

     DATA _NULL_;
       D='19JAN2001'D;
       PUT D= ENGDFWKX15.;
     RUN;

The result of the PUT statement is: D=Fri, 19 Jan 1

THIS IS A YEAR 2000 READINESS DISCLOSURE.


Products: BASE
Component: FORMATS
Priority: HIGH
Status: Outstanding Problem
Date: Fri, 18 Feb 2000

System Release Reported Release Fixed
AIX/6000 6.12 TS020 6.12 TS060  
HP-UX Operating Systems 6.12 TS020 6.12 TS060  
IBM OS/2 6.12 TS020 6.12 TS060  
Solaris 6.12 TS020 6.12 TS060  
OpenVMS Alpha 6.12 TS020 6.12 TS065  
Windows 3.11 6.12 TS020 6.12 TS060  
Windows NT 6.12 TS020 6.12 TS060  
Windows 95 6.12 TS020 6.12 TS060  
Compaq Tru64 Unix 6.12 TS040 6.12 TS051  
Macintosh 6.12 TS040 6.12 TS051  
AIX/6000 6.11 TS020 6.12 TS060  
HP-UX Operating Systems 6.11 TS020 6.12 TS060  
IBM OS/2 6.11 TS020 6.12 TS060  
Solaris 6.11 TS020 6.12 TS060  
Windows 3.11 6.11 TS020 6.12 TS060  
Intel ABI 6.11 TS040 6.11 TS051  
Silicon Graphics Unix 6.11 TS040 6.11 TS051  
Compaq Tru64 Unix 6.11 TS040 6.12 TS051  
Windows NT 6.11 TS040 6.12 TS060  
Windows 95 6.11 TS040 6.12 TS060  

No Fixes Available