China Naming Network - Ziwei knowledge - ? Bat countdown applet

? Bat countdown applet

@echo? leave

* Date difference? Code? By who? foxjl

Settings? /p? Date 1= Enter the start date (e.g. 1984-2-22? 5: 1 1:3):

Settings? /p? Date2= Enter the end date (for example, 20 13-9- 18? 5:6:3 1):

For what? /f? "Token = 1, 2,3,4,5,6,7? delims=-/:。 ? "? %%i? Are you online? (" %date 1% ")? Do what? ((setting? Y 1=%%i)? & amp& amp? (setting? M 1=%%j)? & amp& amp? (setting? D 1=%%k)? & amp& amp? (setting? H 1=%%l)? & amp& amp? (setting? F 1=%%m)? & amp& amp? (setting? S 1=%%n)? & amp& amp? (setting? MS 1=%%o))

For what? /f? "Token = 1, 2,3,4,5,6,7? delims=-/:。 ? "? %%i? Are you online? (“%date2%”)? Do what? ((setting? Y2=%%i)? & amp& amp? (setting? M2=%%j)? & amp& amp? (setting? D2=%%k)? & amp& amp? (setting? H2=%%l)? & amp& amp? (setting? F2=%%m)? & amp& amp? (setting? S2=%%n)? & amp& amp? (setting? MS2=%%o))

Settings? /a? secs =((D2-32075+ 146 1 *(y2+4800+(m2- 14)/ 12)/4+367 *(m2-2-(m2- 14)/ 12 * 12)/ 12-3 *(y2+4900+(m2-65438

Settings? /a? D=secs/86400,H=(secs%%86400)/3600,M=(secs%%3600)/60,S=secs%%60

Echo. & Echo. Time between% date 1% and %date2%: %D% days %H% hours %M% minutes %S% seconds.

Pause & gt null