| Date: | Wed, 18 Oct 2000 10:37:34 -0700 |
| Reply-To: | Sharon Well <peach71_us@YAHOO.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Sharon Well <peach71_us@YAHOO.COM> |
| Subject: | DATETIME question |
| Content-Type: | text/plain; charset=us-ascii |
|---|
Hi Everyone
I concatenated various variables such as dy, mon, yr
etc to bring create a variable in this form (19APR2000
22:08). Now I am trying to convert 19APR2000 22:08 to
datetime format, to enable me to do calculations such
as difference between two datetime variables etc. .
I tried using
input(dttm, datetime13.);
format dttm_pk datetime13.;
but it just doesn't do it. I get the following error
message
NOTE: Invalid argument to function INPUT
Could someone please help me out here. Thanks in
advance.
Sharon
__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf! It's FREE.
http://im.yahoo.com/
|