I want to print on a paragraph elapsing time.
This is the function

```
public updateClock() {
    let now = new Date(); 
    this.time = now.getHours() + ':' + now.getMinutes() + ':' + now.getSeconds();
    setInterval(this.updateClock, 1000);
}

```

I used this function on the constructor.
My problem is: the time on the HTML page doesn't change, but I want that time change continuously.

P.s. Time is a variable that I declared at the beginning of the component and this is the HTML code:

```
<p>{{time}}</p>

```