delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/18/16:31:35

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: getdate()
Date: Sat, 18 Apr 1998 13:02:49 -0700
Organization: Alcyone Systems
Lines: 16
Message-ID: <353906E9.57E79FC9@alcyone.com>
References: <eVzZ.3246$sN3 DOT 526143 AT news21 DOT bellglobal DOT com>
NNTP-Posting-Host: charmaine.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Paul Derbyshire wrote:

> I notice the function getdate() to obtain the system clock date is in
> dos.h.
> Something tells me this isn't an ANSI or POSIX header. Is there a
> platform-independent method of obtaining the system clock date???

Try localtime, gmtime, etc.

-- 
         Erik Max Francis, &tSftDotIotE / mailto:max AT alcyone DOT com
                       Alcyone Systems / http://www.alcyone.com/max/
  San Jose, California, United States / icbm:+37.20.07/-121.53.38
                                     \
 "All the people in my neighborhood / look and get mad and sing"
                                   / Public Enemy

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019