The PHP-manual says under strftime-description:
"%u - weekday as a decimal number [1,7], with 1 representing Monday"
If i run the script:
<?php
$date=977094000; //This is a monday
echo "Weekday: ".strftime("%u\n", $date);
?>
This produces the output
"Weekday: 2" on a machine running SunOS 5.7
and
"Weekday: 1" on a machine running RH6.2
Why doesn't it produce the same output on both machines?