Hi Devs,
I am little confused about displaying DATE-TIME with respect to users TIMEZONE.
Here is the scenario -
Entire System is ready but got confused when I want to implement the TIMEZONE correction :S
BTW: POST means Comment posted, not the POST method
I am little confused about displaying DATE-TIME with respect to users TIMEZONE.
Here is the scenario -
Now, the Questions -There are 3 entities -
This is basically a PHP based Commenting System.
- SERVER, located in the GMT
- USER1, in India (+5:30)
- USER2, in Somewhere else, say at (-1:30)
Say, current Server time is 12'mid-night, that is 00:00.
USER1 posts a comment.
- What will be the time-stamp on that POST ?
- Should I store the POST time-stamp on the basis of USER1's time, or Server's time ?
- What will be the time USER2 seeing ?
Entire System is ready but got confused when I want to implement the TIMEZONE correction :S
BTW: POST means Comment posted, not the POST method
