August 7th, 2003, 11:44 AM
I have found a PHP code where it will express whether it is night or day based off of location and sunrise and sunset. I would like to incorporate it into my existing day/night mode in my form. But being it is entirely done in Java Script, I am finding it too hard to incorporate the PHP in.
August 7th, 2003, 05:21 PM
var time = new Date();
alert(time.getHours() + ":" + time.getMinutes() + ":" + time.getSeconds());