batch file - BAT - How would I detect the number of days from a date? -
so today wanted make simple bat file, sorts builds of app folders in specific hierarchy:
- app name
- day 0
- build 1
- d0_b1_g1.html
- build 2
- d0_b1_g2.html
- build 1
- day 1
- build 1
- d1_b1_g3.html
- build 2
- d1_b1_g4.html
- build 1
- day 0
d1_b1_g4 stands day 1, build of day 1, global build 4.
now, problem ran detecting how many days date have passed. example, if started building app on 1st september 2013, , today it's 5th septermber 2013, number of days passed 4.
i hope there simple solution this, if not, stick naming day folders date.
david
Comments
Post a Comment