...there I go complicating things again. Thanks Razzak.
From: "A. Razzak Memon" <raz...@rbase.com> To: rbase-l@googlegroups.com Date: Wed, 12 Jan 2022 07:33:20 -0500 Subject: Re: [RBASE-L] - Formatting 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 rbase-l+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/0MVen3-1mqpSP0Lk7-00Z0yW%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 rbase-l+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/WC20220112123721.890008%40jjcalibrations.com.