Nighthawk

Date format

Preview

Date format pipe takes into account the timezone and locale defined in the app config.

You opened this page at (current time): 27.08.2024 - 23:02:52

If your database is in another timezone, you can simply set the isDatabaseTimezone boolean to true.

For example, if your database is in UTC, then the datetime is: 27.08.2024 - 20:02:52

Demo code