How to write the date with the DOM in JavaScript

1 Answer

0 votes
document.write(Date());

/*
run:

Sat Apr 11 2015 14:25:28 GMT+0300 (Jerusalem Standard Time)
*/


answered Apr 11, 2015 by avibootz
...