IT, computer and programming tutorials and tips that i couldnt find anywhere else using google, from my daily work as a Senior Developer of solutions using Java and Linux.
20130830
sahi - how to print javascript timestamp date and time in console
var $now = new Date().getFullYear() + "." + new Date().getMonth() + "." + new Date().getDate() + " " + new Date().getHours() + ":" + new Date().getMinutes() + ":" + new Date().getSeconds() + "." + new Date().getMilliseconds();
_debug($now);
In the grey "Sahi Controller" console you'll see something like this:
_debug("2013.7.30 12:1:20.777");
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment