Perlfect Solutions

[Perlfect-search] Last Modified Date Not Displayed - WinNT

Daniel Naber
Sat, 10 Aug 2002 19:48:15 +0200
On Saturday 10 August 2002 19:28, ehnya chnia wrote:

> Just wondering whether this is a known problem. The $date value is
> always -1 and therefore a "-" is displayed instead.
> Found this which dated 2 years back but the attachment is not available.

The code was this:

#!/usr/bin/perl -w

use POSIX qw(strftime);
my $date = POSIX::strftime("%Y-%m-%d %H:%M", localtime());
print "$date\n";

If it does work for you then the problem is probably that your dynamic 
pages don't return a Last-Modified header.