Get date/time from lightbox

How can I get the current date/time from lightbox? I tried this code:

scheduler.getEvent(scheduler.getState().lightbox_id).start_date

But it only works as long as I didn’t change date/time. If I do, I still receive previous date/time but not the new one.

Hi,
try followingvar time = scheduler.formSection("time").getValue(); alert(time.start_date); alert(time.end_date);
docs.dhtmlx.com/scheduler/api__s … ction.html

Thanks!! exactly what I needed :slight_smile: