Hi Everyone,
In my project we are facing a issue in date time picker. In local , we can select a date and post to a controller. The same date has stored in database.
After we deploying our application to azure, we are trying to insert a record with selected date. But the date is stored in different date. which mean , If I select current date, the date stored as yesterday date. What is the problem there? Kindly assist.


Ramesh PalanivelRank #372 · 6.8K reputationPosted Nov 13, 2017, 8:08 PM EST
Tapan PatelRank #614 · 3.9K reputationPosted Nov 9, 2017, 4:15 AM EST
Are you using GetDate function on serverside? (meaning in some SP/Function)
Try modifying your code on serverside to store datetime in UTC format and have it manipulated once you load in the application.
Chetan RanpariyaRank #1,852 · 801 reputationPosted Nov 13, 2017, 4:00 PM EST