|$year = $year % 100;      # get the real "years since last beginning of
|                          # the century"
I would use: $year = sprintf("%02d", $year % 100); Other wise you will get
dates like this 21/11/0, unless ofcourse you use printf later.

Leonid Igolnik aka LiM


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to