daily pastebin goal
71%
SHARE
TWEET

Untitled

a guest Jun 22nd, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const currentDate = moment(new Date())
  2. const insertDate = moment('Wed Jun 13 2018 16: 26: 15 GMT-0400(-04')
  3. const timeElapse = currentDate.diff(insertDate, 'days')
  4.  
  5. console.log('difference days >>>>>', timeElapse)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top