Search found 227 matches
- 31 Mar 2014 13:56
- Forum: DOS Batch Forum
- Topic: Get Date dd/mon/yyyy
- Replies: 4
- Views: 6312
Re: Get Date dd/mon/yyyy
I wrote the following routine a couple of years ago. It's easy to use its output to generate the format you wish, or any other variation. In your case, use: call :Now echo %DAY%/%MONTH%/%YEAR% The "Now" routine is a pure-batch attempt at parsing the date and time in a way compatible with a...
- 26 Oct 2012 07:22
- Forum: DOS Batch Forum
- Topic: Bug in function :Format
- Replies: 2
- Views: 3999
Bug in function :Format
Hello, Thanks for all the great ideas published here! I've been happily using many in my scripts. But when I tried using the function :Format in one of them, it gave incoherent results. It took me quite a while to understand what was wrong. (Given its rather sophisticated implementation ) The root c...