I am creating a reminder system for the software that we have. Currently I have the user give me the time they would like to be reminded and I store it in a database.
Then later, I have a service that periodically checks the database for reminder times. If the reminder time matches the server time, the system sends an email to the user.
I just now realized that this may not work because of time zone differences.
My question, what is the best way to handle time differences in the server and the client, so that the reminder is accurate?
For example..... our server is set for central time at say 6:00pm...... The user who is on the east coast wants a reminder at 7:00pm... this means my server would need to send the reminder at 6:00pm server time.
I hope the question is clear.