home bbs files messages ]

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,984 of 42,547   
   Herbert Kleebauer to Chris Roberts   
   Re: DOS Batch program countdown days unt   
   02 Feb 22 22:08:47   
   
   From: klee@unibwm.de   
      
   On 02.02.2022 20:18, Chris Roberts wrote:   
      
   > That's a cool script, I may use it.   
   > But it says it "extract from the %date% variable" and then does NOT use    
   %date% at all and instead statically defines the  date.   
      
   It says, you should extract the variables %y% %m% %d%   
   from the %date% variable. Because the code depends on   
   the local date format, it is not done in my example   
   but instead some fixed values are used to show the   
   usage of the two subroutines.   
      
      
   > I don't totally get :day2date It seems like a lot of variables for this   
   simple task.   
      
   If it is a simple task, then do it yourself and   
   show us your code. Maybe there really is a much   
   simpler solution (I wanted a version without "IF"   
   and "GOTO").   
      
   --- 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