diff --git a/examples/console2.js b/examples/console2.js index 8108b9d..0a8320f 100644 --- a/examples/console2.js +++ b/examples/console2.js @@ -14,6 +14,8 @@ console.log("A string %s and a number %d", "hello", "123"); //you can use printf //Time console.time().log("Print the full time"); console.date().log("Just print the date"); +//custom time +console.time((new Date()).setFullYear(1999)).log("Custom time"); //Tags console.tag("My Tag").log("Add a tag");