Now, I don't know that there is no way to do it with PHP (I'm pretty sure, but not certain.), but it has been done millions of times with Javascript. Why reinvent the wheel? Besides, why put that extra load on your server? Let your user's machine take care of that handling stuff. Are you wanting to display the local server time or the time on your user's machine? If the latter, then definitely use JS.