Can you have a function execute when the datepicker is set?

Can you have a function execute when the datepicker is set?

with the year and month as arguments? 

right now I can only execute a function through onSelect and onChangeMonthYear.

I need it to run when the datepicker loads.

Thanks