scheduler selected date on custom button event

How to get scheduler selected date on custom button event

You can use the following statement:

var selectedDate = $$(“scheduler”).coreData.getValue();