Reputation: 32758
I've a blog created in ASP.NET MVC framework. How I can display the article posted date, comments posted date in client's datetime currently they are displayed in server datetime.
Upvotes: 0
Views: 912
Reputation: 30873
You can use getTimezoneOffset method to adjust date into client timezone using javascript.
Upvotes: 1