From the server I get a datetime variable in this format: 6/29/2011 4:52:48 PM
and it is in UTC time.
(从服务器上,我得到一个datetime变量,格式为: 6/29/2011 4:52:48 PM
,它是UTC时间。)
I want to convert it to the current user's browser time using JavaScript.(我想使用JavaScript将其转换为当前用户的浏览器时间。)
How this can be done using JavaScript or jQuery?
(如何使用JavaScript或jQuery完成此操作?)
ask by Amr Elgarhy translate from so
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…