I assume, you will not get lucky with the datetime-informat. Better use
put d datetime22.;
On Fri, 2 Nov 2007 09:52:12 -0400, SAS_learner <proccontents@GMAIL.COM>
>I have date (ISO 8601 standard For Ex : 2007-01-30T17:49:00 ) I am trying
>to convert it to numeric date, I checked every where for an informat to
>convert it into sas Numerical date like this ;
>Data Dm ;
> Set Mntx3301.Dm;
>RFSDTC1 = Input( RFSTDTC , is8601dt. ) ;
>Keep Usubjid subjid siteid RFSTDTC RFENDTC RFSTDTC1 ;
>This is giving me an error,
>Then I thought of cutting it and putting it way the SAS likes
>but is there a better way than this to do this., While converting this
>would be ignoring the time part right so should I need to use datetime20.
>change exactly for character to Numeric.
>thank you all for the help