Hi everyone;

    I´m having a trouble with mktime. It is not generating negative values since the 
OS was updated to "Linux version 2.6.7 (gcc version 3.2.3)". 
    I belive php uses mktime from glibc, and when this library was changed, mktime 
with this new "stupid feature" stoped generate values that represent dates lower than 
Dec-31-1969.
    All my systems that store dates are using mktime, so the birthday fields are not 
working under 1969.
    I´m using PHP 4.3.8, and always upgrading !
    How can i fix that?

    Example:

    <?
    echo date ("M-d-Y", mktime (0,0,0,12,32,1997));
    echo "<br>";
    echo date ("M-d-Y", mktime (0,0,0,1,1,1968));
    ?>

    The result is:
    
    Jan-01-1998
    Dec-31-1969
       
    Thnx in advance, and sorry my poor english!

    [s]
    Mt

Reply via email to