Blog
Developers
Careers
Support
Contact
Gossamer Threads
Solutions
Results
About
Mailing Lists
Resource Centre
Forum
Tools
Home
Who's Online
Tags
Favourites
Login
Forum Search
(
Advanced Search
)
This forum
This category
All forums
for
Home
:
General
:
Perl Programming
:
Greenwich Mean Time Display Script
Previous Thread
Next Thread
Print Thread
View Threaded
May 15, 1999, 4:19 PM
siddhu
Novice
(35 posts)
May 15, 1999, 4:19 PM
Post #1 of 4
Views: 3204
Shortcut
Greenwich Mean Time Display Script
Does anybody know where I can get a script to display GMT on my site and on the Links pages?
Thanks
May 17, 1999, 7:39 AM
Alex
Administrator
(9387 posts)
May 17, 1999, 7:39 AM
Post #2 of 4
Views: 3084
Shortcut
Re: Greenwich Mean Time Display Script
In reply to
Just change the call to
localtime()
to
gmtime()
and it should work.
Cheers,
Alex
May 29, 2000, 4:03 AM
Juan G
Novice
(41 posts)
May 29, 2000, 4:03 AM
Post #3 of 4
Views: 3083
Shortcut
Re: Greenwich Mean Time Display Script
In reply to
In order to switch to gmtime (GMT/UTC), localtime appears in the following five files of Links 2.0:
db_utils.pl (once)
links.cfg (twice)
Mailer.pm (once)
nph-email.cgi (twice)
nph-verify.cgi (once)
May 30, 2000, 1:30 PM
Stealth
Veteran
(17240 posts)
May 30, 2000, 1:30 PM
Post #4 of 4
Views: 3101
Shortcut
Re: Greenwich Mean Time Display Script
In reply to
Two other suggestions....
1) Use the
Changing Time
code hack located at:
http://www.anthrotech.com/cgi/links/faqs/time/
2) Download the International Date.pm module at
http://www.cpan.org
Regards,
Eliot Lee
Previous Thread
Next Thread
Print Thread
View Threaded