Ends in:
3 DAYS
6 HRS
35 MIN
11 SEC
Ends in:
3 D
6 H
35 M
11 S

DateTime Format Pipes

You can format date by Date pipe of angular.

Example

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

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>

ShortTime Pipe

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

ShortDateTime Pipe

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

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.

In this document
Community Talks

What’s New with .NET 9 & ABP 9?

21 Nov, 17:00
Online
Watch the Event
Mastering ABP Framework Book
Mastering ABP Framework

This book will help you gain a complete understanding of the framework and modern web application development techniques.

Learn More