Steve
This should work.
SET VAR V1 TEXT = ('06/30/2002')
SET VAR V2 DATE = .V1
Notice don't put () around .v1 or you will get an error that the data
type does not match.
Buddy
-----Original Message-----
From: J. Stephen Wills [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 15, 2002 12:27 PM
To: RBase List Server
Subject: String_To_Date?
How do I convert a string, such as :
"06/30/2002"
to a DATE-type variable?
Surely there's and easier way than to use 3 SGET's to extract the MM, DD,
and CCYY components, then use RDATE?
TIA,
Steve in Memphis
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/