JS just support to get UTC time. There is how to get local time.
function GetLocalTime() { var date = new Date(); var n = date.getTime() - (date.getTimezoneOffset() * 60000); return new Date(n); }
JS just support to get UTC time. There is how to get local time.
function GetLocalTime() { var date = new Date(); var n = date.getTime() - (date.getTimezoneOffset() * 60000); return new Date(n); }
Swedish Greys - a WordPress theme from Nordic Themepark. Converted by LiteThemes.com.