Display client local time

Hey,
Is there a way to display the client date/time in a vaadin app and have it update itself automatically every second? I have found this addon https://vaadin.com/directory#!addon/datetimelabel but unfortunately it doesn’t work with vaadin 8

Thanks

    Label lblTime = new Label();
    DateTimeFormatter formatter = DateTimeFormatter.ofPattern("dd/MM/yyyy hh:mm:ss");
    lblTime.setValue(LocalDateTime.now().format(formatter)); 

This will give you local time set in label, but you need to do something about refreshing I dont where you will use it. Maybe you can do something with setPollInterval(1000); or something similar.

Hey,
How do I refresh every second?