SyntaxFix
Write A Post
Hire A Developer
Questions
Try
console.log(_x000D_ new Date().toLocaleString().slice(9, -3)_x000D_ , new Date().toString().slice(16, -15)_x000D_ );