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,979 of 42,547    |
|    Kerr-Mudd, John to Chris Roberts    |
|    Re: DOS Batch program countdown days unt    |
|    02 Feb 22 16:48:35    |
   
   From: admin@127.0.0.1   
      
   On Wed, 2 Feb 2022 07:02:02 -0800 (PST)   
   Chris Roberts wrote:   
      
   > DOS Batch program to countdown days/year (countdown date)   
   >   
   > Hi,   
   > Maybe someone can assist?   
   > I am having trouble figuring out how to do this using a DOS/BATCH program.   
   >   
   > For instance.   
   > $ echo %date%%time%   
   > Wed 02/02/2022 9:54:30.16   
   >   
   > Would someone here know how I can subtract todays date from 11/8/22 to   
   easily see how many days I still have to go?   
   >   
   > Thanks   
   > crzzy1   
   >   
   >   
      
      
   --   
   Bah, and indeed Humbug.   
      
   --- 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