delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/05/05:01:28

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: unix time & date
Date: Thu, 05 Mar 1998 00:40:01 -0800
Organization: Alcyone Systems
Lines: 17
Message-ID: <34FE64E1.2A0987DE@alcyone.com>
References: <6dllf7$5j2$1 AT news DOT rapidnet DOT net>
NNTP-Posting-Host: charmaine.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Richard Sanders wrote:

> I found the function mktime() to convert the time and date to elapsed
> seconds
> since 1/1/1970.  I can't seem to find a function to go the other way.
> Is there
> one?  What is it called?

localtime is probably what you want.

-- 
         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
                                     \
        "I've got the fever for the / flavor of a cracker"
                                   / Ice Cube

- Raw text -


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