Click here to Skip to main content
15,921,622 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
SharePoint want to present its time in UTC Format, For me the UTC format is +1.

But we also have winter and summertime in Sweden so, right not its not +1. Its only +0 and in the Summmer its +1.

Any Sugestions how to solve this?

Because when saving to List its auto adds +1 to my list so if i have tim 9:00 to 10:00 its display 10:00-11:00 in the list....
Richard MacCutchan 20-Nov-14 4:46am    
All times are (or should be) stored as UTC values. When you want to display them then you should convert the value to local time by applying the timezone data for your locality,
Kurac1 20-Nov-14 4:58am    
Yes i know how do i convert to local time?

var result = listItemCustom + "T" + listItemFromTime + ":00" + "Z";
var result2 = listItemtoDate + "T" + listItemToTime + ":00" + "Z";

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900