DateTime Format Pipes

You can format date by Date pipe of angular.

Example

<span>{{today | date 'dd/mm/yy'}}</span>
HTML

ShortDate, ShortTime and ShortDateTime format data like angular's data pipe but easier. Also the pipes get format from config service by culture.

ShortDate Pipe

<span> {{today | shortDate }}</span>
HTML

ShortTime Pipe

<span> {{today | shortTime }}</span>
HTML

ShortDateTime Pipe

<span> {{today | shortDateTime }}</span>
HTML

Contributors


Last updated: October 10, 2024 Edit this page on GitHub

Was this page helpful?

Please make a selection.

To help us improve, please share your reason for the negative feedback in the field below.

Please enter a note.

Thank you for your valuable feedback!

Please note that although we cannot respond to feedback, our team will use your comments to improve the experience.

Community Talks

Real World Problems and Solutions with AI

27 Feb, 17:00
Online
Watch the Event
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book