Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import moment from 'moment';
- const then = moment(timeTillDate, timeFormat);
- const now = moment();
- const countdown = moment(then - now);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement