I have the following code to show the current date:
this.whatTime = Observable.interval(1000).map(x => new Date()).share();
And in my te
Use Angular2 built in Date Pipe
{{whatTime | async | date:'yMdjm'}}