Strip Time from Date
Removes the time from the date.
var myDate = arguments[0] return new Date(myDate.getFullYear(), myDate.getMonth(), myDate.getDate());
- Code Repository:
Removes the time from the date.
var myDate = arguments[0] return new Date(myDate.getFullYear(), myDate.getMonth(), myDate.getDate());