Starts in:
2 DAYS
11 HRS
12 MIN
46 SEC
Starts in:
2 D
11 H
12 M
46 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>

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