开发者

Displaying datetime in client timezone in ASP.NET MVC

开发者 https://www.devze.com 2023-04-03 04:43 出处:网络
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 d开发者_运维知识库isplayed in server datetime. Y

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 d开发者_运维知识库isplayed in server datetime.


You can use getTimezoneOffset method to adjust date into client timezone using javascript.

0

精彩评论

暂无评论...
验证码 换一张
取 消