141
rated 0 times
[
145]
[
4]
/ answers: 1 / hits: 90356
/ 13 Years ago, sun, january 29, 2012, 12:00:00
var date = Fri Jan 29 2012 06:12:00 GMT+0100;
How can i show this in format 2012-01-29 06:12 ?
In PHP is function ->format. In Javascript is also format, but if i try use this then i have error:
now.format is not a function
var now = new Date();
console.log(now.format(isoDateTime));
I would like receive format: 2012-01-29 06:12
More From » jquery