Top "Date-pipe" questions

Angular's date pipe that transforms a date into various formats.

Format date as dd/MM/yyyy using pipes

I'm using the date pipe to format my date, but I just can't get the exact format I want without …

date angular angular-pipe date-pipe
How to set locale in DatePipe in Angular 2?

I want to display Date using European format dd/MM/yyyy but using DatePipe shortDate format it only display using …

javascript angular date-pipe
How to get date and time in Angular 4,5,6 and above using DatePipe

I am working in an angular 4 application, Here I need to get the current Date and Time Using angular DatePipe. …

javascript angular typescript date date-pipe
Angular 4 date pipe displays wrong date because of time zones - how to fix this?

I have a date value in each of my objects that I can Print like this: <td> {{competition.…

angular date-pipe
How to use angular2 built-in date pipe in services and directives script files

I need to use angular2's date pipe in services and directives script files(not only in HTML). Does anyone …

angular angularjs-directive angular-services date-pipe
Angular 4 Date Pipe converting wrongly

I have rest service which returns a collection of objects and one of the field of the item is a …

angular date-pipe
InvalidPipeArgument: 'Unable to convert "2018-01-01-12:12:12:123456" into a date' for pipe 'DatePipe'

<td>{{suite.testSuiteAttributes && suite.testSuiteAttributes.modifiedTimestamp | date: 'yyyy-MM-dd' }} </td> I want the Date format …

javascript angular typescript ecmascript-6 date-pipe
DatePipe.transform show InvalidPipeArgument for 'dd-MM-yyyy'

Recently Angular DatePipe is showing an InvalidPipeArgument error but the String date seams to be correct. Can any one see …

angular typescript date-pipe
date pipe angular 4 custom format with timezone (short)

I need to print timestamp custom format with timezone (short format): {{ '2017-06-29 09:55:01.956-0400' | date:'MMM dd, y …

angular datetime date-pipe
Angular DatePipe - Convert seconds to time with zero timezone (12 instead of 00)

I want to convert number (which represents seconds) using DatePipe to get result like this : 00:00:05 I've tried doing so with …

angular date-pipe