Hey Stackfriends =P
I know about the time() and the date() functuions,
but what I want to achieve is that the user from china gets another time shown than the user from France.
I cannot use JavaScript, because I am also using the local time for some calculations.
Hey Stackfriends =P I know about the time() and the date() functuions, but what
Share
There are two good solutions:
Obviously it highly depends on your website which option is appropriate. On a site like stackoverflow option 2 is used and makes the most sense as there are various events which are day-based so days need to change at the same time for all users.