robert@0: #!C:/strawberry/perl/bin/perl.exe robert@0: robert@0: use strict; robert@0: use CGI; robert@0: robert@0: my $q = new CGI; robert@0: print $q->header(); robert@0: robert@0: my ($sec,$min,$hour,$mday,$mon,$year,$wday, robert@0: $yday,$isdst)=localtime(time); robert@0: robert@0: printf "%4d-%02d-%02d %02d:%02d:%02d\n", robert@0: $year+1900,$mon+1,$mday,$hour,$min,$sec;