home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Boston 2
/
boston-2.iso
/
DOS
/
PROGRAM
/
C
/
JAZLIB
/
JZGETDAT.C
< prev
next >
Wrap
Text File
|
1993-12-01
|
688b
|
19 lines
/*
┌────────────────────────────────────────────────────────────────────────────┐
│jzgetdat.c │
│Return the dos date │
│ │
│ (C) JazSoft Software by Jack A. Zucker (301) 794-5950 │
└────────────────────────────────────────────────────────────────────────────┘
*/
jzgetdat( fdate )
char *fdate;
{
union REGS winreg,woutreg;
winreg.h.ah = 0x2a;
intdos(&winreg,&woutreg);
sprintf(fdate,"%02d-%02d-%4d",woutreg.h.dh,woutreg.h.dl,woutreg.x.cx);
}