I need to get the date one day after another date. I do :
$scope.date2.setDate($scope.date1.getDate()+1);
if   
$scope.date1 = 2015-11-27  
then 
$scope.date2 = 2015-11-28
It s ok,
but when 
$scope.date1 = 2015-12-02
 then 
 $scope.date2 = 2015-11-28 (ie tomorrow)
I don't understand why...
If anyone knows..
 
     
     
    