Yesterdays Date in Batch File

I need a script file in a batch file that will give me the date of the day in a variable when I ran it. Including conditions such as the 1st march (which will be on February 28 or 29 depending on the year)

+5
source share
2 answers

Assuming you mean the ms-dos batch file, see this page .

+5
source

If you use Perl, try here .

+1
source

All Articles