Mar 20, 2000, 4:02 PM
Post #1 of 2
I am using the following Guestbook Script on one of my pages:
Time Zone CGI Perl Question
Copyright 1996 Matt Wright email@example.com Created 4/21/95
Last Modified 10/29/95
Scripts Archive at: http://www.worldwidemart.com/scripts/
I was wondering if some one could take a look at the CGI Perl and help me understand
how to have the correct time zone displayed.
It currently displays CT and I would like it to display Eastern.
This is what I think needs changing:
# Get the Date for Entry
$date = `$date_command +"%A, %B %d, %Y at %T (%Z)"`; chop($date);
$shortdate = `$date_command +"%D %T %Z"`; chop($shortdate);
The (%Z) displays the "C" for Central
Any help would be great!