I have a date \'12/12/1955 12:00:00 AM\' stored in a hidden column. I want to display the date without the time. How do I do this?
\'12/12/1955 12:00:00 AM\'
Split it by space and take first part like below. Hope this will help you.
space
var d = '12/12/1955 12:00:00 AM'; d = d.split(' ')[0]; console.log(d);