views:

18

answers:

2

I am working on a website in ASP.NET where emails can be scheduled for feauture. But the problem is with the date difference between server and client. As the server is in India an USA user can schedule a date behind today's date as their time zone is different. But this email will not be sent ever as the date has already been passed here. Please suggest me how to deal with this matter.

A: 

use UTC time and convert all times to it before you set the schedule.

Sruly
+1  A: 

Use UTC time instead of local time.

Here's a link to an article in case you need more information: http://www.4guysfromrolla.com/articles/081507-1.aspx

Chuck
Thanks for your prompt reply. I am going through the link. Hope this will help. Thanks again.
Ranadhir

related questions