I have a web application with a dynamic javascript calendar that allows users to set events for data and time. I need to send notifications to users, so I need to convert the date and time zone that they entered into Eastern Standard Time so that my notifications are sent at the right time.
I would like to do this in javascript, so when the data time value gets into php, it is in the right format before being added to the database.
So, to summarize, I need to convert the time and time to javascript, which I get by taking user time data, as the full UTC date, in the time zone of my servers, which is EST - New York.
Any help or direction on this would be greatly appreciated. Thanks:)
Carl Weis
source share