0
velu created
Hi..
below code is written for the returns date in dd/MM/yyyy
$scope.Date = { date: new Date(), filtered: $filter('date')(new Date(), "dd/MM/yyyy") };
but when rendering on view control its shows in MM/dd/yyyy format.
1 Answer(s)
-
0
Hi velu,
I assume you are using angular1 version. If so, you can use this filter <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/blob/dev/src/MyCompanyName.AbpZeroTemplate.Web/App/common/filters/momentjs-filters.js">https://github.com/aspnetzero/aspnet-ze ... filters.js</a>.
It accepts date format.
Thanks.