Date: Fri, 22 May 2009 11:01:14 -0400
Reply-To: Gerhard Hellriegel <gerhard.hellriegel@T-ONLINE.DE>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Gerhard Hellriegel <gerhard.hellriegel@T-ONLINE.DE>
Subject: Re: datetime format
that seems to be the current format (I hope, it is a datetime variable and
no char. If it is, the INPUT function with the INFORMAT datetime22. could
help...).
Gerhard
On Fri, 22 May 2009 07:56:18 -0700, x_liu70@YAHOO.COM wrote:
>On May 22, 9:14 am, inason <iharu...@googlemail.com> wrote:
>> I have date time variable which is written as,
>> 13SEP2007:10:50:00
>>
>> I have been asked to change the format as year month day time.
>> So that it would look like 2007-09-13 10:50:00.
>> I have tried the format MINGUO10.
>> But that I belive is not suitable.
>>
>> Does any one know of any format that would do this for me.
>>
>> Many thanks beforehand
>>
>> Inason
>
>Try DATETIMEw. format. It should give you 13SEP2007:10:50:00. Hope
>it close to what you want.
|