Date: Wed, 22 Mar 2006 21:00:51 -0800
Reply-To: David L Cassell <davidlcassell@MSN.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: David L Cassell <davidlcassell@MSN.COM>
Subject: Re: Unix Date/Time Stamp
Content-Type: text/plain; format=flowed
>Is there a way in SAS that I can use to convert Linux/Unix datetime stamp
First, I have some questions.
Are you reading this in from a flat file or a pipe? If so, are you using an
appropriate informat so that the datetime is converted to a SAS datetime
variable, instead of keeping it as some awkward text string?
Do you really need the result as a Julian date, or can you use a date
format to make the result *look* correct? If you want the date as a
Julian date instead of merely displaying as a Julian date, then why do
you want that?
WHICH Julian date format is the one that you want? I mean, you did know
that 'Julian date' doesn't mean anything, because it may be four or five
different formats, all of which are called 'Julian date'. And that doesn't
include the astronomical meaning of the term. So look up the formats:
and let us know which one you plan to use.
David L. Cassell
3115 NW Norwood Pl.
Corvallis OR 97330
Donít just search. Find. Check out the new MSN Search!