POV-Ray : Newsgroups : povray.programming : Y2K : Re: Y2K Server Time
28 Jul 2024 20:26:48 EDT (-0400)
  Re: Y2K  
From: Nieminen Mika
Date: 20 Jun 1999 04:27:04
Message: <376ca5d8@news.povray.org>
Mark Wagner <mar### [at] gtenet> wrote:

: So POV-Ray might report that the rendering took -36524d 23h 17m 23s to
: render.

  If povray uses the standard C library function time() it shouldn't.
  From the man page:

DESCRIPTION

  The time() function returns the time in seconds since the Epoch. The Epoch
  is referenced to 00:00:00 CUT (Coordinated Universal Time) 1 Jan 1970.


  As you can see, there's no reference to the current year here.
  Since this counter is usually a 32-bit number, the real problem comes
in 2106 when the counter overflows.
  I think I will not live that long.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.