Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove time from date in node js

var myDate = new Date('10/11/1955 10:40:50 AM');
var noTime = new Date(myDate.getFullYear(), myDate.getMonth(), myDate.getDate());
 
PREVIOUS NEXT
Tagged: #remove #time #date #node #js
ADD COMMENT
Topic
Name
9+3 =