i'm getting 2 strings from php and i'm trying to get the difference between then using javascript. this is my code:
this.now = Thu Feb 14 2017 16:38:42 GMT-0200 (BRST)
this.expiration = Wed Feb 15 2017 15:29:45 GMT-0200 (BRST)
and i want the days difference between this two dates, to show something like "1" day left
.