localtime command -

They have: 4 posts

Joined: Mar 1999

I am new to cgi perl and trying to modify the localtime command in a script because I live in Australia but my server is in San Diego USA. How do I adjust the output to cope with the different time zone?

Thanks

Dale reardon.

------------------
Dale Reardon
subscribe to our ezine about Tasmania Holiday Isle
mailto:[email protected]

They have: 4 posts

Joined: Oct 1999

why don't you just split the time you got from the localtime() variable change the hours by $hour++ or something like this???

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.