Hi Sascha,
Look at 7.23.2.6 Normalization of broken-down times
-Jason
----- Original Message -----
From: "Sascha Schumann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, March 14, 2001 12:49 PM
Subject: Re: [PHP-DEV] PHP 4.0 Bug #8828 Updated: mktime using mday<=0
> > This actually is part of the Ansi C standard.
> >
> > Solaris 8 manpage -----------------------
> >
> > The original values of the components may be either greater
> > than or less than the specified range. For example, a tm_hour
> > of -1 means 1 hour before midnight, tm_mday of 0 means the day
> > preceding the current month, and tm_mon of -2 means 2 months
> > before January of tm_year
>
> This seems to be a Solaris extension. It does not contradict
> C99, but I would not consider it portable. Neither section
> 7.23.1, "Components of time" nor 7.23.2.3, "The mktime
> function" say anything with regard to values which exceed the
> normal ranges as specified in 7.23.1.
>
> - Sascha Experience IRCG
> http://schumann.cx/ http://schumann.cx/ircg
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]