Convert Date calculations to Moment.js