Skip to content

Commit 9b34612

Browse files
committed
date
1 parent ad97938 commit 9b34612

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.devcontainer/date_time.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
let myDate = new Date()
2+
console.log(myDate.toString());
3+
console.log(myDate.toDateString());
4+
console.log(myDate.toLocaleString());

0 commit comments

Comments
 (0)