Is this along the right lines? England should be a fixed number of hours away from you, so if you do $time = time(); then do $time += or -= n*60*60 you should have your local time (give or take a few seconds). Then get your date using localtime.
<whisper>is this homework?</whisper> You may even be able to change locale, but I don't know anything about that.
How can you feel when you're made of steel? I am made of steel. I am the Robot Tourist. Robot Tourist, by Ten Benson
In reply to Re: Date and Time
by robot_tourist
in thread Date and Time
by arrow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |