So I used the following code from the FAQ "Hello, today is . . ."
my ($sec, $min, $hour, $day, $mon, $year, $dweek, $dyear, $daylight) = localtime(time);
@Weekdays = (Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday);
$Date = &get_date;
print qq!
<p>$Weekdays[$dweek], $Date </p>
The date is correct on any page that does not have a record on it. It shows Dec 31, 1969, on the List All page. What is going on?
Chris
Code:
my ($sec, $min, $hour, $day, $mon, $year, $dweek, $dyear, $daylight) = localtime(time);
@Weekdays = (Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday);
$Date = &get_date;
print qq!
<p>$Weekdays[$dweek], $Date </p>
The date is correct on any page that does not have a record on it. It shows Dec 31, 1969, on the List All page. What is going on?
Chris