PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
djmaze
Subject Matter Expert


Joined: May 15, 2004
Posts: 557
Location: http://tinyurl.com/5z8dmv

PostPosted: Mon Mar 21, 2005 10:05 pm Reply with quote Back to top

It took me a lot of time for something so simple.
But somehow servers that are DST based + PHP makes it almost impossible for you.

I live in a country that is DST based: Last Sunday in March at 2am
The server is also DST based, so no problemo for me.

But now you live on hawai (NO DST) or in the States (YES/NO First Sunday in april at 2am)

in hawai all shown times in PHP are out of sync with 1 hour
in states they are out of sync for 1-2 weeks

Or viceversa: the server is in the states

If the server is GMT based then all is ok, but how much people have their server set to GMT ???

This makes you scream for fixes.
You fix 1 part and then PHP spits out that all time functions are DST based.
Now have fun building your own "time" functions that do it properly and rewrite all your code to use those Smack
View user's profile Send private message Visit poster's website
djmaze
Subject Matter Expert


Joined: May 15, 2004
Posts: 557
Location: http://tinyurl.com/5z8dmv

PostPosted: Sat Apr 09, 2005 9:21 am Reply with quote Back to top

Took me 2 days to figure everything out but my code is working now Laughing
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15036
Location: Kansas

PostPosted: Sat Apr 09, 2005 4:50 pm Reply with quote Back to top

Well, are you gonna share or just brag ROTFL
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
djmaze
Subject Matter Expert


Joined: May 15, 2004
Posts: 557
Location: http://tinyurl.com/5z8dmv

PostPosted: Sun Apr 10, 2005 12:26 am Reply with quote Back to top

Ehm this forum is named "Rants & Raves" so it's no a place to share Very Happy

Will PM it to ya Wink
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum