I
iamjadiam
Guest
In PHP, is "localtime" the time on the server where PHP is running or is it the time on my user's machine, the person who is actually viewing the content?
if it's the time on my server, is there a way to get the time on the user's machine in PHP?
Awesome! Thanks for the help... can I do the same with getdate() ?
Currently my script uses date('z') which is fine until someone who isn't in my server's timezone views the content. So I am trying to find a function that will do the same. getdate('yday') seems to be the answer. Yes?
if it's the time on my server, is there a way to get the time on the user's machine in PHP?
Awesome! Thanks for the help... can I do the same with getdate() ?
Currently my script uses date('z') which is fine until someone who isn't in my server's timezone views the content. So I am trying to find a function that will do the same. getdate('yday') seems to be the answer. Yes?