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?
Solved
System Variable Error
Best answer by botL
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
Rich Text Editor, editor1
Editor toolbars
Press ALT 0 for help
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.