Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch.nt    |    Fun with Windows NT batch files    |    68,980 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 67,497 of 68,980    |
|    probyn@berkeley.edu to Harry Potter    |
|    Re: Getting current date from WinXP batc    |
|    02 Feb 20 00:01:29    |
      On Saturday, February 1, 2020 at 1:49:44 PM UTC-8, Harry Potter wrote:       > Basically, how do I do it? I need a YYYY-MM-DD format.              C:\Users\JoeUser\temp: echo/%date%       Sat 02/01/2020              C:\Users\JoeUser\temp: set mydate=%date:~-4,4%-%date:~4,2%-%date:~7,2%              C:\Users\JoeUser\temp: set mydate       mydate=2020-02-01              --- 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