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 2009, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 24 Mar 2009 09:32:02 -0500
Reply-To:     Joe Matise <snoopy369@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Joe Matise <snoopy369@GMAIL.COM>
Subject:      Re: AAAA-MM-JJ-HH:MM:SS:NNNNNN
Comments: To: "./ ADD NAME=Data _null_," <iebupdte@gmail.com>
In-Reply-To:  <ce1fb7450903240713j3343a34dx7881dbb9417c91ec@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Is there a comprehensive list out there of date/datetime informats?? Those two (among others) aren't in the SAS 9.1.3 documentation, at least... unless it's too early in the morning for me ...

-Joe

On Tue, Mar 24, 2009 at 9:13 AM, ./ ADD NAME=Data _null_; < iebupdte@gmail.com> wrote:

> I reckon I should have tested that. YMDDTTM27.6 does work properly. > > data _null_; > d1 = input('2009-01-30T23:28:42.227291',IS8601DT.); > d2 = input('2009-01-30-23.28.42.227291',ymddttm27.6); > put (_all_)(=); > format d: datetime30.6; > > run; > > On 3/24/09, ash007 <RamsamyAshley@gmail.com> wrote: > > how can i transform a character variable with element like > > '2009-01-30-23.28.42.227291' into IS8601DT format. > > > > thanks. > > >


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