172
rated 0 times
[
174]
[
2]
/ answers: 1 / hits: 22870
/ 9 Years ago, mon, august 10, 2015, 12:00:00
I am using date-format package in node back end and I can get today date using
var today = dateFormat(new Date());
In the same or some other way I want yesterday date. Still I did't get any proper method. For the time being I am calculating yesterday date manually with lot of code. Is there any other method other then writing manually ?
More From » node.js