Quote:
Originally Posted by Flowaz
I wanted to get a simple website that will have one button that says "It's 5 O'Clock Somewhere" and when you click I want it to find the country that is closets to 5PM.
Can any one help?
Thanks
|
================================================== =======
An ideea:
Use the following instruction:
Date day = new Date(); // the output will be like this:
"Sun Apr 21 22:12:09 FET 2013".
Now you can compare this variable(that is current time - the time when this variable is called and executed) with the existing timezone (eg: +2 South Africa, Greece).