How to format a date in angularjs?
Answer / Sandeep Gupta
In AngularJS, you can use the built-in filter 'date' to format dates. To use it, you need to include the 'ng' module and add the 'date:' attribute followed by your desired format inside double curly braces ({{}}) in your HTML element.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a decorator in angular 6?
What is RouterOutlet?
How to update angular 6 to angular 7?
Explain ngmodule?
How do you use $filter?
List some cons or disadvantages of using angularjs?
What is candeactivate?
What is "track by" in angularjs and how does it work?
what are directives? Mention some of the most commonly used directives in angularjs application?
What is json web token?
How will you show/hide buttons and enable/disable buttons conditionally?
Why you use browsermodule, commonmodule, formsmodule, routermodule, and httpclientmodule?