hi ,
i am stuck .i am using datepicker directive in .
once i seleted the new date it is working fine but when i want to save the selected date it take current date .
the html for this is like .
{{card.view_attributes.venue_date.value = info.dateObj.getDate() +' '+ months[info.dateObj.getMonth()] +' '+ info.dateObj.getFullYear()}}
ng-change ="setDate();" date-type="string" >
{{card.view_attributes.venue_date.value}}
ng-click="Opened=true;$event.stopPropagation(); $event.preventDefault(); ">
scope.info = {
dateObj : (new Date())
}
and i want to store the selected date into json value
please reply it .
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Amit Kumar SinghRank #562 · 4.3K reputationPosted Feb 16, 2016, 4:28 PM EST
aman sharma49 reputationPosted Feb 26, 2016, 1:52 AM EST
aman sharma49 reputationPosted Feb 26, 2016, 1:52 AM EST