Hello Yitzchak Scott-Thoennes, in a previous mail you wrote:
> >@date = Today_and_Now();
> >$ampm = 'AM';
> >if ($date[3] >= 12)
> >{
> > $date[3] -= 12;
> > $ampm = 'PM';
> >}
>
> This is an example of why AM/PM is deprecated. It's too easy to get wrong.
> Hours are labeled: 12 AM, 1 through 11 AM, 12 PM, 1 through 11 PM,
> so you need to add another line here:
> $date[3] ||= 12;
Ooops! <blush>
You're absolutely right!
Regards,
--
Steffen Beyer <[EMAIL PROTECTED]>
http://www.engelschall.com/u/sb/whoami/ (Who am I)
http://www.engelschall.com/u/sb/gallery/ (Fotos Brasil, USA, ...)
http://www.engelschall.com/u/sb/download/ (Free Perl and C Software)