Mega Code Archive
Categories
/
Perl
/
System Functions
Displays the current date and time in a Web browser
use warnings; use strict; print "Content-type: text/html\n\n"; print "
Current date and time
"; print "\n"; print scalar( localtime() ); print "";