...

View Full Version : Change Website According to Time of Day



sfox8
06-28-2007, 04:11 AM
Is there a way to change the website template/color or to just change a part of a website according to the time of day? For example, I want to have my website automatically change to a darker color scheme during the night time and then a lighter one in the daytime. Is there a way to read the user's time and change it accordingly (in php or any other coding language)?

whizard
06-28-2007, 05:19 AM
Read this article... it might shed some light on what you're trying to do:

http://www.mtdev.com/2002/06/use-php-and-javascript-to-display-local-time/

HTH
Dan



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum