[Linux-Discussion] Re: hah :)

  • From: bobbya <bobbya@xxxxxxxxxxxx>
  • To: linux-discussion@xxxxxxxxxxxxx
  • Date: Fri, 09 Feb 2001 23:53:51 -0800

Hello,

I'm writing a C program that uses the time, specifically, the
"gettimeofday" function that has the number of seconds since
January 1, 1970.

I use a long to store the number of seconds. The only problem is that
there are only 9 digits in a long, and in at least a couple of years,
more than 9 digits will be needed.

Does anyone have a solution to this  problem?

Robert A.


=============================================================
Avenir Web's Linux Discussion List

List info: //www.freelists.org/cgi-bin/webpage?webpage_id=13
To unsubscribe: email linux-discussion-request@xxxxxxxxxxxxx
with 'unsubscribe' in the Subject line.

Administrative contact: weez@xxxxxxxxxxxxxx
=============================================================

Other related posts: