delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/05/05:30:23

Date: Thu, 5 Mar 1998 12:28:52 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Richard Sanders <richard AT stardate DOT bc DOT ca>
cc: djgpp AT delorie DOT com
Subject: Re: unix time & date
In-Reply-To: <6dllf7$5j2$1@news.rapidnet.net>
Message-ID: <Pine.SUN.3.91.980305122651.11863V-100000@is>
MIME-Version: 1.0

On 5 Mar 1998, 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?

Use either `localtime' or `gmtime', depending upon your needs.
 
> My email address is richard AT stardate DOT bc DOT ca

Then why don't you put it into your From: or Reply-to: header, so people 
could have their mailers type it for them?

- Raw text -


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