Hacker News new | ask | show | jobs
by RiderOfGiraffes 5556 days ago
Because of the Facebook thing I haven't logged in yet, and this may be answered if I do, but how do you deal with time zones?
1 comments

You pick it from the list and I use it to calculate the difference between the current time in your zone and the time you want the message, then add the difference to GMT time on my server. It was simple once I got the dots connected and figured out PHPs DateTime class. :)