I have the following code to show the current date:
this.whatTime = Observable.interval(1000).map(x => new Date()).share();
And in my template:
{{whatTime | async}}
My problem is that the date is too long and not formatted as I wish.
All I want to show is: 15/09/16 19:07:11
Any ideas?