DragonPrime - LoGD Resource Community
Welcome Guest
  • Good afternoon, Guest.
    Please log in, or register.
  • May 26, 2019, 12:27:44 PM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Server Time  (Read 3595 times)
0 Members and 1 Guest are viewing this topic.
Jim
Guest
« on: January 07, 2005, 05:40:25 PM »

My webhost suggested that I use this code so I can offset the time on my server time. Can one of you smart people turn this into a module so that everyone can use this. You see the news in my realm is 12 hours off.

<?
print date not formated: .date('U');
print <br>date: .date(F j, Y, g:i a);
print <hr>date not formated - <font color='red'>5</ font> hours: .(date('U') - 18000);
print <br>date: .date((F j, Y, g:i a), date('U') - 18000);
?>

Logged
Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« Reply #1 on: January 07, 2005, 07:19:36 PM »

My webhost suggested that I use this code so I can offset the time on my server time. Can one of you smart people turn this into a module so that everyone can use this. You see the news in my realm is 12 hours off.

<?
print date not formated: .date('U');
print <br>date: .date(F j, Y, g:i a);
print <hr>date not formated - <font color='red'>5</ font> hours: .(date('U') - 18000);
print <br>date: .date((F j, Y, g:i a), date('U') - 18000);
?>

In the game settings, I *believe* there is a setting to alter the offset.  ::checks::

Under, "Game Day Setup" the setting, "Real time to offset new day". I think that is what you are looking for.
Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

Jim
Guest
« Reply #2 on: January 08, 2005, 02:48:10 AM »

I've tried that and it has no effect.
Logged
Spider
Guest
« Reply #3 on: January 08, 2005, 02:54:41 AM »

well it works on my server...
Logged
Jim
Guest
« Reply #4 on: January 10, 2005, 06:30:51 AM »

I don't know why it is not working on mine. *shrugs* Oh well I can live with it.  Smiley
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Welcome to DragonPrime - The LoGD Resource Community!

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
112 Guests, 2 Users
Sunday, Daenerys
Home Forums News Downloads Login Register Advanced Search