I am working in an angular 4 application, Here I need to get the current Date and Time Using angular DatePipe.
Date and Time Using
DatePipe
I want to get the date and time
Uses the function formatDate to format a date according to locale rules.
{{ value_expression | date [ : format [ : timezone [ : locale ] ] ] }}
It may be useful:)