Hi there Jay, does this help you?
First the full date and time ...
Local date and time: [%Begin Unverified Perl
my $datestring="";
$datestring=localtime();
return $datestring;
End Unverified%]
OR just the hour ...
Local hour: [%Begin Unverified Perl
use POSIX qw(strftime);
my $hourstring="";
$hourstring=strftime "%H", localtime;
return $hourstring;
End Unverified%]
Just on the second example, use $hourstring to display the appropriate script (e.g. if $hourstring>16 ...).