Tag Archives: DateTime

Sitecore 8 ServerTimeZone – my dates are all wrong

This issue appeared when I upgraded from Sitecore 7.5 to Sitecore 8. Suddenly my dates on the website were 2 hours behind – on my development server it was one hour behind. In Sitecore, my date-time was (example) 2015-04-12 00:00:00. … Continue reading

Posted in Sitecore 8 | Tagged , , | 9 Comments

.NET DateTime to JSON UNIX JavaScript datetime

When posting datetimes to web services or REST services, you might need to convert the standard .NET DateTime to a UNIX format. Please note than neither REST, nor JavaScript has its own DateTime format. But some systems based on REST … Continue reading

Posted in c#, General .NET | Tagged , , , , | 1 Comment