I have hosted my console application in AppHarbor, there I need to run the application in PST time, AppHarbor in UST zone. There any option to change the whole application to PST zone without altering the whole code because lot of placecs I used DateTime.Now.
Member
1 Points
30 Posts
Changing time zone
Sep 20, 2012 01:32 AM|edvine1983|LINK
Hi,
I have hosted my console application in AppHarbor, there I need to run the application in PST time, AppHarbor in UST zone. There any option to change the whole application to PST zone without altering the whole code because lot of placecs I used DateTime.Now.
Please help me
Regards,
Member
32 Points
44 Posts
Re: Changing time zone
Sep 21, 2012 11:00 AM|cmayil|LINK
Hi,
You have to change the time zone of the server in which your database is hosted (if it is DB oriented).
Having the date/time stored in UTC format is a best practice. Refer to this article below.
http://www.4guysfromrolla.com/articles/081507-1.aspx
Member
32 Points
44 Posts
Re: Changing time zone
Sep 27, 2012 02:23 AM|cmayil|LINK
Hi Edvine, I am happy that you were able to resolve your issue using the reference link. Thanks