ez6mnw
Last Updated: February 25, 2016
·
751
· mlb

Cross-Browser Date.today()

Date.today = function(){
  return new Date(~~(+new Date() / 864e5) * 864e5)
}