Timeline for Calculate time difference in Windows batch file
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| S May 5, 2016 at 13:14 | history | suggested | CommunityBot | CC BY-SA 3.0 |
Added a format check on "." in addition to "," so as to support more locales
|
| May 5, 2016 at 9:45 | review | Suggested edits | |||
| S May 5, 2016 at 13:14 | |||||
| May 18, 2015 at 11:22 | comment | added | PHC |
A small update for an alternative of output format if we want that instead of hh:mm:ss,cs change the format to 00h 00m 00s we need to change the lines with: SET "_t=!_h!:!_m!:!_s!.!_cs!" SET "_t=!_t:00:=!" and replace them with the following code: IF "%_f%" == "hms" ( SET "_t=!_h!h !_m!m !_s!s" & SET "_t=!_t:00h=!" & SET "_t=!_t:00m=!" & SET "_t=!_t: =!" ) ELSE ( SET "_t=!_h!:!_m!:!_s!.!_cs!" & SET "_t=!_t:00:=!" ) Now we can use as a formatted parameter the sentence "hms" so that the output format would be 00h 00m 00s
|
|
| May 18, 2015 at 9:33 | review | Late answers | |||
| May 18, 2015 at 9:35 | |||||
| May 18, 2015 at 9:22 | review | First posts | |||
| May 18, 2015 at 9:24 | |||||
| May 18, 2015 at 9:18 | history | answered | PHC | CC BY-SA 3.0 |