Skip to main content

I'm trying to get today's date using 'System: Date', but it's getting the date from one year later. How can I solve this?

I’m not seeing the same issue.

What date format are you using?

 


If you are converting the System:Date using a custom datetime format of YY or YYYY, that causes an error in the year during the last week and first week of a year. Use yy or yyyy instead. I encountered the same error today but a colleague found this documentation, which clarified things: https://docs.automationanywhere.com/bundle/enterprise-v2019/page/custom-datetime-formats.html#d472e67


Reply