#!/usr/bin/perl [/code]
[code]($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time); # Get the current local time of the server [/code]
[code]if ( ($hour > 9) && ($hour < 17) ) { print ("<img src=\"open.gif\">\n"); } #end if else { print ("<img src=\"closed.gif\">\n"); }