105
rated 0 times
[
109]
[
4]
/ answers: 1 / hits: 43002
/ 10 Years ago, thu, july 17, 2014, 12:00:00
We are using AngularJS to set filters.
Basically we have a start date and end date and frequency. When the frequency is set to week, we simply want to add 1 week to the start date, when the frequency is set to daily, we want to add 1 day to the start date.
Basically something like :-
var date = new date();
date.addDays(2);
date.addMonths(2);
date.addYears(2);
More From » angularjs