1
2content_copy
3
4{{ dateObj | date }} // output is 'Jun 15, 2015'
5{{ dateObj | date:'medium' }} // output is 'Jun 15, 2015, 9:43:11 PM'
6{{ dateObj | date:'shortTime' }} // output is '9:43 PM'
7{{ dateObj | date:'mm:ss' }} // output is '43:11'
8
1<p>French date time is {{todayDate | date:'full':'+0200':'fr'}}</p>
2
3Result:
4French date time is mercredi 19 juin 2019 à 13:25:15 GMT+02:00
5