I am trying to figure out why php date() is giving me the wrong time, setting the actual time back 2 hours.
Try setting the the timezone: date_default_timezone_set or via the ini
Update: you cannot set the correct date for your users. Javascript can handle it but you'd have to rely on the user's system to determine his/her time.