Visual studio feeds

All Visual Studio blogs in one place

Subscribe

Enter your email address:

Delivered by FeedBurner

Increase your website traffic with Attracta.com

Google+

Contact

Email:
Subject:
Message:
Anti-spam: How many eyes has a typical person?

Follow us on FB

Search

How to display a datetime in the client local timezone in ASP.NET MVC views

AddThis Social Bookmark Button
For my website http://www.watzdprice.com I ran into a problem where I needed to show a datetime from a ViewModel in the client local timezone. The problem is that the Razor views are rendered on the server and the server doesn’t know the users timezone. So we have to create a client side solution. We have [...] Share on Facebook Retweet this
Home : Blog List : BroersA Blog : How to display a datetime in the client local timezone in ASP.NET MVC views