@vishwas,
Thank you for your fast reply. sorry for using an old version, I will update it in my code.
I set interval to 1 and intervaltype to ‘second’ because when i use the feature zoomenabled to ‘true’ I have a problem (see capture below), the time is repeated between each steps (1 second).

Do you know how to manage it ? To just show one time between each tick.
Thank you for you help.
BR.