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.