| Date: | Tue, 2 Dec 2008 16:55:43 -0500 |
| Reply-To: | SAS_learner <proccontents@GMAIL.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | SAS_learner <proccontents@GMAIL.COM> |
| Subject: | Re: SDTM Partial dates |
| In-Reply-To: | <c2192a610812021249w7d64a19eq548a1c2c08b74e8b@mail.gmail.com> |
| Content-Type: | text/plain; charset=ISO-8859-1 |
Hello all ,
Just a added in I have two values DMDLS2D (Numerical Day) = 17588 And there
is Time value DMDLS2DF = 72000 What should I need to do to use IS8601DT
Informat
My final value should 2008-02-26T20:00:00
Thanks
SL
On 12/2/08, SAS_learner <proccontents@gmail.com> wrote:
>
> Hello _all_,
>
> May be some body have already might have asked this one. What I am doing is
> getting the dates into SDTM format . I do not have any problem when I have
> complete date . When I have the Complete date I am doing something like this
>
>
> Dmdlstd2 = Put ( Dmdlstd,IS8601DA. );
>
> But does this Format would when there are Partial dates that missing date
> and missing Month ?? if not is there simple way check Dmdlstd when it is
> Num.
>
> I do have macro where I would cut the Character Dmdlstd into Parts and set
> it back with assigning format to Month. Is there better way
>
> thanks for your time and Thoughts (TTT)
> SL
>
|