Assuming you know time-zone offset (relative to the server) for the client who will be reading the page, just add that number of seconds to the output of the time function and pass the result of that to localtime -- something like:
$offset_sec = $timezone_hr_offset *3600; # offset may be negative @time_vals = localtime( time + $offset_sec );
In reply to Re^3: User's time
by graff
in thread User's time
by kiat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |