Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
155
code to set the timezone
posted

Hi friends,

I am using webschedule info

but after saving data the data displayed in the webdayview differs by 5hours and 30 min ie if i save the time as 4 am it shows 9.30

but time  is saved correctly in Database

anybody please help.

 

Thanks,

Anish

 

Parents
  • 4960
    Verified Answer
    posted

    You can set the TimeZoneOffset property on WebScheduleInfo in Page_Load to be the TimeSpan necessary to adjust what is stored in the database to the time zone of the user's browser, for example,

    webScheduleInfo1.TimeZoneOffset = new TimeSpan( 5, 30, 0);

Reply Children
No Data