strict warning: Only variables should be assigned by reference in /home/itechpros/servoyguy.com/sites/all/modules/links/links.inc on line 1434.

Strip Time from Date

 

Removes the time from the date.

var myDate = arguments[0]
return new Date(myDate.getFullYear(), myDate.getMonth(), myDate.getDate());