Don’t use the () around the text 

Buddy

Sent from my iPhone

> On Mar 27, 2021, at 5:50 PM, BILL MILYARD <[email protected]> wrote:
> 
> 
> Razzak:
> Thanks for you quick response.  You're going to think I've lost my mind.  I 
> explained it backwards I want to convert a text to a date.  
> 
> vDate is TEXT and
> vServiceDate is DATE
> set var vServiceDate = (.vDate)
> 
> Sorry, Bill
> 
> 
> 
> From: [email protected] <[email protected]> on behalf of A. 
> Razzak Memon <[email protected]>
> Sent: Saturday, March 27, 2021 4:45 PM
> To: [email protected] <[email protected]>
> Subject: Re: [RBASE-L] - Date Conversion
>  
> Bill,
> 
> Here's how:
> 
> SET VAR vServiceDate TEXT = NULL
> SET VAR vServiceDate = (CTXT(.vDate))
> 
> That's all there is to it!
> 
> Very Best R:egards,
> 
> Razzak
> 
> 
> At 04:30 PM 3/27/2021, bmilyard wrote:
> 
> >This should be easy but for some reason I can't get it to work.  I 
> >need to convert a date variable to a text variable.  In my program 
> >I'm setting a date to a text variable as:
> >
> >set var vServiceDate = (.vDate)
> >vServiceDate is a TEXT type and
> >vDate is a DATE type
> >
> >I've tried several Conversion, Date and String functions but none 
> >work.  I know I've done it in the past but can't hit on a 
> >solution.  What am I doing wrong?
> >Bill
> 
> -- 
> For group guidelines, visit 
> http://www.rbase.com/support/usersgroup_guidelines.php
> --- 
> You received this message because you are subscribed to the Google Groups 
> "RBASE-L" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rbase-l/0LfCve-1m1WV7166q-00olZl%40mrelay.perfora.net.
> -- 
> For group guidelines, visit 
> http://www.rbase.com/support/usersgroup_guidelines.php
> --- 
> You received this message because you are subscribed to the Google Groups 
> "RBASE-L" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rbase-l/BLAPR10MB5345597A4A13CB1E5E84F514CB609%40BLAPR10MB5345.namprd10.prod.outlook.com.

-- 
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/32DB3AF0-6E74-4320-94F9-A0808404EF94%40comcast.net.

Reply via email to