Scheduler Year Increment / Decrement

Good morning!
I want to have a button in which when the user clicks i will change the scheduler date to +1 year in the current view he is. Can you help me please on how i can do it?

Thank you very much!

You can place the button anywhere on the page, on from its onclick handler call

[code]var date = scheduler.getState().date;
var mode = scheduler.getState().mode;

date =, 1, “year”);

scheduler.setCurrentView(date, mode);[/code]

Thank you very much! Have a nice day! :slight_smile: