I don't suffer from insanity, I enjoy every minute of it
Trotse mama van Thijs&Bas
Verwijderd
Het officiele antwoord:
HTH
Nee, dus. Als je dus met data voor 1970 moet werken moet je een andere manier vinden om data te representeren.[18 Oct 2001 5:55am] hholzgra@php.net
behaviour of unix timestamp functions for dates
before 1.1.1970 is simply undefined and depends
on the system *and* c library implementation you
use
so stay away from undefined value ranges
HTH
[ Voor 42% gewijzigd door Verwijderd op 23-01-2003 16:05 ]
Je zou zelf een verbeterde functie kunnen schrijven die voor die datum een negatief getal teruggeeft, maar dat is waarschijnlijk nog best lastig...
Rustacean
Verwijderd
Deze dus: http://pear.php.net/package-info.php?pacid=57[20 Nov 2002 7:57pm] alan_k@php.net
try looking at the Date Package in PEAR
pear.php.net
EnjoyGeneric classes for representation and manipulation of
dates, times and time zones without the need of timestamps,
which is a huge limitation for php programs. Includes time zone data,
time zone conversions and many date/time conversions.
It does not rely on 32-bit system date stamps, so
you can display calendars and compare dates that date
pre 1970 and post 2038. This package also provides a class
to convert date strings between Gregorian and Human calendar formats.
[ Voor 54% gewijzigd door Verwijderd op 23-01-2003 16:20 ]