galaxy0815
Technical User
Hi,
Can you please let me know if there is an easier way of calculation from todays date the 12.th of last month as this one here:
Looks so complex for this simple task. Thanks
Can you please let me know if there is an easier way of calculation from todays date the 12.th of last month as this one here:
Code:
date(trim(Char(YEAR(CURRENT DATE - 1 MONTH)))||'-'|| trim(Char(MONTH(CURRENT DATE - 1 MONTH)))||'-12')
Looks so complex for this simple task. Thanks