157
rated 0 times
[
161]
[
4]
/ answers: 1 / hits: 18161
/ 10 Years ago, mon, august 4, 2014, 12:00:00
I'm using momentjs lib to updated text on some ajax action. What I need to do is to set a current date & time in london. I'm using moment.utc() function but because of the summer time I'm one hour out.
For example running this on 14:26
console.log( moment.utc().format('HH:mm:ss') );
I'm getting 13:26:53.
Any idea on how to fix this?
More From » datetime