Scheduler template event header

Hi all, i try to insert this code:

scheduler.templates.event_header=function(start,end,event){
return “Person:”+event.person+""+""+event.start_date+""+""+event.end_date+"";
}

but in the header appear date format, example:
tue jul 20 12:00:00 UTC + 0200 2010 tue jul 20 12:15:00 UTC + 0200 2010.

How can I to have in the follow format?

example: 12:00 12:15

Thank you.
Sondra

You can create date formatters

docs.dhtmlx.com/doku.php?id=dhtm … te_formats

var format = scheduler.date.date_to_str("%h:%i"); scheduler.templates.event_header=function(start,end,event){ return "Person:<b>"+event.person+"</b>"+""+format(event.start_date)+""+""+format(event.end_date)+""; }

Thank You.
Sondra