i have this function who get dattime from the sql base
foreach($events as $event)
{
$items[]=array(
'title'=>$event['title'],
'start'=>$event['start_day'],
'end'=>$event['end_day'],
'allDay'=>$event['all_day'] == 1 ? true : false,
'editable'=>true,
'color'=>$event['background_color'] == '' ? '' : $event['background_color'],
);
}
i whant to convert the time like this
‘start’=>strtotime(‘2014-03-11 09:00’) = 1394614800