I have added today: number = Date.now();
in my angular code . but it gets the time after adding 5 hours to my local time. Not sure what is wrong.
today: number = Date.now();
My HTML code that displays time on screen
<p class="date-format-layout-vertical-align">
Printed {{ today | date: 'short' }}
</p>