Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
HI,
I'm trying to set a variable with "Dec 20xx" where xx is last year. I'm able to get last year's year, but if I try to do Date('Dec ' & $(LastYearVar)) it does not work.
Can someone please help me with this. Thanks.
Hi Andre,
May be
Date(Date#('Dec ' & $(LastYearVar), 'MMM YYYY'))
Regards,
Andrey
What was the LastYearVar here?
Like this ?
LET vYear = Year(Today())-1;
LET vVariable = 'Dec '& $(vYear);
Hi Andre,
May be
Date(Date#('Dec ' & $(LastYearVar), 'MMM YYYY'))
Regards,
Andrey