I have a web application that has a dynamic javascript calendar, which allows users to set events for a given data and time. I need to push notifications to the users, so I need to convert the date time and timezone they entered, into Eastern Standard Time, so that my notifications are sent out at the correct time.
I would like to do this in javascript, so that when the data time value gets to the php, it's in the right format, before being added to the database.
So to summarize, I need to convert a javascript datatime and timezone, which I get by capturing the users datatime, as a full UTC date, to my servers timezone, which is EST - New York.
Any help or direction on this matter, would be greatly appreciated. Thanks :)