Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 06-07-2001 04:05:20

Guest
Guest

Time Stamp - URGENT_

Hi All,

How do i change the time stamp, i need it to go forward by 5 hrs ? ie GMT

Tim

 

#2 06-07-2001 17:50:19

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19514
Website

Re: Time Stamp - URGENT_

From within the cgi-bin find the following file:

3.x -> ./library/common_scripts/date_define.pl
4.0 -> ./library/common/date_define.pl

You'll need to edit it.  In several instances throughout this file the time is received from the server using the 'localtime(time)' directive.  I believe replacing that directive where it appears with the 'gmtime(time)' directive will result in the mod you want.


Nick Hendler

Offline

 

Board footer