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
    • day 1
      • build 1
        • d1_b1_g3.html
      • build 2
        • d1_b1_g4.html

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

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -