locked
Changing time zone RRS feed

  • Question

  • User366286484 posted

    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,

    Thursday, September 20, 2012 1:32 AM

Answers

  • User1998043978 posted

    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

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, September 21, 2012 11:00 AM

All replies

  • User1998043978 posted

    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

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, September 21, 2012 11:00 AM
  • User1998043978 posted

    Hi Edvine, I am happy that you were able to resolve your issue using the reference link. Thanks

    Thursday, September 27, 2012 2:23 AM