Dealing with times and time zones for timestamping comments (and other things)
Hi.
This is my first post so please forgive me if I break any rules unwittingly.
I want to add date and time to comments on a PHP database driven page.
I want the times to be local (relative to the person using the page) but I don't want the time itself to be derived from the computer of the person using the page. The reason for that is I don't want to record an incorrect time if their computer time happens to be wrong (not likely these days but possible)
I know I can get the mysql time using the now() function. I also know I can add or subtract hours from it to get the time in a different time zone. But for that I'd have to pick a time zone and stick to it.
If getting the accurate time of the place where the page is being viewed is a messy process then I'd be ok with using a specific time (in my case GMT or BST)
Basically I am asking what is the accepted way of dealing with the time and date for page comments.