1

I am currently building a web app that is for Australian based users but the server is not in Australia so the time-zone is incorrect. Is there type of entry I can add to the web.config file to offset the time on the server by GMT+10:00 ?

EDIT:

More to the point is there any way of setting this application-wide, it doesn't necessarily have to be in the web.config

Rob
  • 9,142
  • 3
  • 57
  • 84

1 Answers1

0

I guess what you need to do is to store your DateTime values as UTC instead of GMT.

There is a lot of related questions on SO:

Community
  • 1
  • 1
aku
  • 115,356
  • 31
  • 164
  • 200
  • I think it's something I need to be wary of in the future as it seems you can't do this easily, due to other circumstances I ended up moving the hosting to an Australian provider so I dodged a bullet this time, but next time I will set up a DateTime helper that I use everywhere to ensure that I don't run across this problem in the future – Rob Sep 04 '11 at 07:50