Return to Snippet

Revision: 7896
at August 20, 2008 05:50 by retry


Initial Code
COMPUTE tempdate=DATE.DMY(NUMBER(SUBSTR(linkdate,7,2),F2.0),NUMBER(SUBSTR(linkdate,5,2),F2.0),NUMBER(SUBSTR(linkdate,1,4),F4.0)).
FORMATS tempdate (EDATE10).
MATCH FILES FILE=*
 /KEEP linkno TO linkscore tempdate dob TO scause10.
RENAME VARIABLES (tempdate=linkdate).

Initial URL

                                

Initial Description

                                

Initial Title
Convert a String variable in the form ccyymmdd to a Date variable in the form dd.mm.ccyy

Initial Tags

                                

Initial Language
Other