Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch    |    Fun with MS-DOS batch files    |    42,547 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 41,486 of 42,547    |
|    foxidrive to Matthias Tacke    |
|    Re: date format & time questions    |
|    12 Oct 16 13:37:22    |
      From: foxidrive@server.invalid              On 12/10/2016 06:31, Matthias Tacke wrote:       > Am 2016-10-09 um 20:30 schrieb foxidrive:                     > Hi foxidrive et all,       > long time no see ;-)              Hi Matthias! It's nice to see you again              You're a smart fellow and a great batch coder, and also a nice bloke...              I thought the trials of raising kids had kept you on your toes, and so life       got in the way of batch files. ;)                     > for the UTC question there is also a wmic answer.              I like the elegance of your solution - and it will keep newbies scratching       their head as they wonder how so many variable names get set. :D                     It was only by chance that daylight savings is in force here and I noticed       that this solution ignores daylight savings time.                            _Day=12       _DayOfWeek=03       _Hour=02       _Milliseconds=00       _Minute=23       _Month=10       _Quarter=04       _Second=26       _UTC=20161012T022326+0000       _WeekInMonth=03       _Year=2016              %time%=13:23:26.23              Day=12       DayOfWeek=3       Hour=2       Milliseconds=       Minute=23       Month=10       Quarter=4       Second=26       WeekInMonth=3       Year=2016                     Milliseconds is an oddity. I wonder why wmic designers left it in.              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca