LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (March 2000, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 13 Mar 2000 17:21:15 GMT0BST
Reply-To:     Panos PAPANIKOLAOU <PapanikolaouP@CARDIFF.AC.UK>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Panos PAPANIKOLAOU <PapanikolaouP@CARDIFF.AC.UK>
Subject:      convert the date format from mmddyy to ddmmyy
Content-type: text/plain; charset=US-ASCII

Dear All,

i have two date-related variables such as admission from and discharge to the hospital. Both are in the american format. That is, they are both read as MMDDYY. I am wondering how i would convert them to the British format such as DDMMYY. Please, note that i tried unsuccessfully the mdy(mm,dd.yy) format as mdy(dd,mm,yy) but it did not work.

I would be most grateful if you would send me any suggestions particularly if any SAS statements would be offered.

Thank you very much indeed for taking the time to consider my request. I look forward to hearing from you.

Yours sincerely Panos

Panos Papanikolaou ********************* Research Fellow Nursing, Health and Social Care Research Centre SONWS UWCM Heath Park Cardiff CF14 4XN Great Britain E-mail: papanikolaoup@cf.ac.uk Direct line: +44 (0)29 2074 2197 Fax: +44 (0)29 2074 5521


Back to: Top of message | Previous page | Main SAS-L page