DateTime issue in Application
Currently, I developed an application and hosted on Godaddy server, but that server is located in the Different country. but where ever I used DateTime.now(). its taken server time only, I need a solution.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Arun KumarPosted Feb 1, 2018, 3:25 AM
Altaf AnsariPosted Feb 1, 2018, 3:12 AM
I'd set the culture in the web.config so any culture specific conversion or parsing i.e. dates, will use the same culture regardless of the underlying operating system region.
i.e.
Arun KumarPosted Feb 1, 2018, 2:53 AM
Ramesh PalanivelPosted Feb 1, 2018, 1:49 AM