BATCH - MODATE.ZIP - MODATE.DOC

 
Output of file : MODATE.DOC contained in archive : MODATE.ZIP

Here is a routine that takes the DOS system clock and outputs a modified
ordinal date string of the form YYMMDDDHHMMSS. For example, if the date
is January 10, 1991 and the time is 11:32:54 AM, the routine will produce
the string 910110113254. Please don't confuse this with the Julian date
- it's not.
It can be very helpful for naming Disk Volumes, Files, Data sets etc..
The code is in TurboC (tiny memory model), short, straightforward, and
Public Domain.

Ray