
footbri2
Deleted
Mar 20, 2000, 4:02 PM
Post #1 of 2
(291 views)
|
|
Time Zone CGI Perl Question
|
Can't Post
|
|
I am using the following Guestbook Script on one of my pages: Guestbook Version 2.3.1 Copyright 1996 Matt Wright mattw@worldwidemart.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! - Mark mnaylor@footbridge.net
|