how to tell if two dates are in the same day? : <p>I am using the moment npm module.
I am comparing two dates and want to see if there in the same day.</p>

<p>Is there a clean way of doing that using the moment package 
or using straight javascript or typescript?</p>
