vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Display different times (https://vborg.vbsupport.ru/showthread.php?t=68307)

Paul9 08-13-2004 05:27 PM

Display different times
 
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.


All times are GMT. The time now is 02:39 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01474 seconds
  • Memory Usage 1,711KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete