|Date: ||Mon, 21 May 2001 12:47:52 +0100|
|Sender: ||"SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>|
|From: ||Graeme Kirton <gkirton@FILCS.COM>|
|Content-type: ||text/plain; charset=us-ascii|
Im finding a tedius problem with changing ones variable value to a SAS date,
Ive a dataset with a variable called date1 its value is 15MAR2001. I want to
change this value to a proper date, im trying all sorts. Please help.
data lookuprf (drop= date_ new lot1 lot2);
length device $7 Lot1 $8 Lot2 $2 Lot3 $6 Lotno $16 date1 $11;
format Date ddmmmyyyy9.;
date1=tranwrd(date1, "-", " ");
This email may contain privileged/confidential information and/or copyright
material. It is intended only for the use of the person(s) to whom it is
addressed and any unauthorised use may be unlawful. If you receive this email
by mistake, please advise the sender immediately by using the reply facility on
your email software and delete the material from your computer.
Opinions, conclusions and other information in this email that do not relate to
the official business of this organisation shall be understood as neither given
nor endorsed by it.
If this message forms part of a quotation, the quotation is an invitation to
treat only. No contract subsists until Filtronic Plc (or its subsidiary
companies) accepts your order. Acceptance of your order is made subject to our
standard Terms and Conditions.
Website Address http://www.filtronic.com