Getting current date

I am using the mobile scheduler, and I have added a new view.
The problem is when I show the new view i need the curent date from the previous date (be it the day in day view, week in week view or selected date in month view).

How can I get those dates?

Hello,

You can use the the following to get the selected date:

var date = $$("scheduler").coreData.getValue();