I am using Robot framework and I want to get previous date. I am doing it as given below.
Getdate is a variable which holds current date, and Date2 holds the value after subtraction.
${Getdate}= | Get Current Date | result_format=%m/%d/%Y
${Date2}= | Evaluate | ${Getdate} - {00/01/0000}
Log ${Date2} |
However I am getting an error. Could someone help me with getting the previous date using Robot framework?