To get Yesterday's date
627574Feb 28 2011 — edited Feb 28 2011Hi,
Can anyone please help me out here..
I am getting current date into one variable using the below code.
set CurrentDateTime=%DATE%
Now I need to get yesterday's date into YDate, how can I get this ?
One way is that breaking the date and reducing by 1, but then I need to handle months and years which is a cumbersome.
Thanks in advance