Skip to main content

Posts

Showing posts with the label Inbuilt Pipes

What Is Angular DatePipe?

Angular DatePipe  - The DatePipe is used to format a date with the help of locale rules. {{  value_expression  |  date  [ :  format  [ :  timezone  [ :  locale  ] ] ] }} The Example for date pipe – The full date provides you full date for the date. The short date converts the date to a short date and the long date provides you long date for the date. < h3 > {{TodayDate}} </ h3 >   < h3 > {{TodayDate | date:'shortDate'}} </ h3 >   < h3 > {{TodayDate | date:'longDate'}} </ h3 >   < h3 > {{TodayDate | date:'fullDate'}} </ h3 > For more detail kindly refer this link click…