Calculating the Day of The Year?
Posted on 2013-06-06
Here is what I am trying to do, I would like to set a variable of the following:
Where YY = Current year (two digits) = 13
Where DDD = Current day of the year (three digits - calculated based on the day of the year, today is day 157).
I have no idea how I would do this ...the variable will be used in a larger batch script. I can execute other programs through the cmd line if necessary.
I would greatly appreciate any assistance on this.