So, my question is simple, how do I get yesterday\'s date with MomentJs ? In Javascript it is very simple, i.e.
today = new Date(); yesterday = new Date(today.se
Also :
moment().subtract(1, 'day')
It will give you the previous day with the same exact current time that is on your local pc.