Perlfect Solutions

[Perlfect-search] Last Modified Date Not Displayed - Any solutions?

ehnya chnia
Sun, 11 Aug 2002 13:37:59 +0000

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

The code above does print out the current date and time.
So, I guess the field is not availabe in the HTTP header.

Is that a problem with my web server setting? Or is there any simple way to 
get around this. I think the last modified date field is quite useful, thus, 
I don't feel like hiding it from the user, unless I got no other choice.


Send and receive Hotmail on your mobile device: