Simple scenario:
John Doe lives in California and posts a comment. Jane Doe lives in Maryland and views the comment.
I'm used to dealing with local based websites and usually use GETDATE(). What's the best way to deal with this so that John and Jane see the date based on their time location? Do I send a parameter to the SQL query based on a javascript function to grab their timezone? Is there a better way?
A good example is Facebook. How do they deal with all the different time zones? Is it client side? server side? etc.
Thanks!