Techiio-author
Started by Debarghya DasSep 18, 2021

Open
Angular DatePipe Output - show UTC instead of GMT

2 VIEWES 0 LIKES 0 DISLIKES SHARE
0 LIKES 0 DISLIKES 2 VIEWES SHARE

Is there a way I can use Angular DatePipe to specify a format that shows "UTC" instead of "GMT". Example Format:

{{currentDate | date:'dd/MM/yyyy hh:mm:ss a (O)'}}

Output: 17/09/2021 10:50:32 AM (GMT-4)

Is there a way I can get the following output instead:

Output: 17/09/2021 10:50:32 AM (UTC-4)

i.e. where it says GMT, the output should say UTC instead

0 Replies

You must be Logged in to reply
Techiio-logo

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Developed and maintained by Wikiance
Developed and maintained by Wikiance