Skip to main content

hi Team, i need to get yesterday date in my workflow global variable, can you please help in getting.

when i use toString(now(),"yyyy-MM-dd") -- printed me todays date 

when i use toString(now() - 1 ,"yyyy-MM-dd"), getting error as operator “-” can not be used

Hi @rajeswarimyla ,

tostring(todate((dateAdd(now(),-1,'DAY'))),'yyyy_mm_dd')  

Please find this expression to get the yesterdays date. Hope this helps.

Regards,

Srija Piratla


Thanks for your support, it worked.


Reply


ataccama
arrows
Lead your team  forward  OCT 24 / 9AM ET
×