Lets say my server is in one country, and the client is in another, date like:
2014/12/24 12:00:00
how to convert it to the client-browser time?
Lets say my server is in one country, and the client is in another, date like:
2014/12/24 12:00:00
how to convert it to the client-browser time?
new Date('2014/12/24 12:00:00').toLocaleString();
Source: http://www.w3schools.com/jsref/jsref_tolocalestring.asp