Log in

View Full Version : Display different times


Paul9
08-13-2004, 05:27 PM
Hello,

I am a newby and I want to substract x hours to the time displayed on my board. In the phrase manager, I have this :

The time now is <span class="time">{2}</span>. GMT time is <span class="time">{2}</span>

So, like this the two hours are identical, but what are the modifications in order to substract two hours for example ?

Thank you ! :)

Paul9
08-13-2004, 05:55 PM
Yes of course, but I want to display for example :

GMT Time is : 2:43
Universal Time is : 1:43

so we must substract x hours (1 in this case) from the admincp time. Do you understand ?

Paul9
08-13-2004, 09:49 PM
No idea ? :(

AN-net
08-14-2004, 01:56 PM
i see what you mean:) the question is do you want this on every page?

Paul9
08-14-2004, 02:41 PM
Hi,

yes I want this on every page, like on this forum :D ! You have an idea on how to make this operation ?
Thank you for your help ! ;)

Paul9
08-16-2004, 10:48 AM
Anybody can help me to display two different times ?
:(

Revan
08-16-2004, 11:05 AM
I think you need to find the bit of coding that constructs the time phrase, then add another arguement to construct_phrase() where you substract the 1hour.
No idea WHERE this coding is tho.