I am storing when events happened on my site in the database using the time()
function and echoing them out with the date()
function.
My only problem is that it echoes it out as UTC but what if my users are elsewhere in the world? How would I detect their timezone and pass it out to the date()
function?
Is this even possible?
Thanks!