How to get date without time in existing momentjs object?

The momentjs object will always store a time, regardless of whether you use it. However, the following will clone date to date2 and reset the time:

var date2 = date.clone().hour(0).minute(0).second(0).millisecond(0)

You'll now have two independent momentjs objects date and date2


With moment version 1.7 and above, just use startOf method.

var date2 = date1.clone().startOf('day');

See http://momentjs.com/docs/#/manipulating/start-of/