Here's how ...
SET VAR vMakeDir TEXT = (FORMAT(.#DATE,'YYYY_MM'))
That's all there is to it!
Very Best R:egards,
Razzak
At 07:18 AM 1/12/2022, jan johansen wrote:
Group,
Desired end result: 2022_01
I want RBase to create a directory named "2022_01"
I can use this
SET VAR vMakeDir TEXT = ( (CTXT(IYR4,.#DATE))+'_'+(CTXT(IMON,.#DATE)) )
but that results in 2022_1
How can I format the "month" to be 2 characters?
Jan
--
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/0MVen3-1mqpSP0Lk7-00Z0yW%40mrelay.perfora.net.