| Date: | Mon, 9 Feb 2004 12:29:19 -0500 |
| Reply-To: | Patrice.Bourdages@IAAH.CA |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Patrice Bourdages <Patrice.Bourdages@IAAH.CA> |
| Subject: | Re: How to convert date and time to sas date? |
|
| Content-Type: | text/plain; charset="iso-8859-1" |
Try DATEPART() function in order to extract just the date like :
format MyDate yymmdd10.;
MyDate = DATEPART(YourDateTimeVar);
Hope it helps...
Patrice Bourdages
Industrial Alliance, home and car insurance
-----Message d'origine-----
De : Saqi [mailto:saqi2000@TOTALISE.CO.UK]
Envoyé : 9 février, 2004 12:15
À : SAS-L@LISTSERV.UGA.EDU
Objet : How to convert date and time to sas date?
Hi their,
I would like to convert the following 12FEB2004:00:00:00 in to
12/02/04. Can you please tell me how can I do this?
Thanks
Saqi
|