I need to combine this two:
<?= helper('com://site/ohanah.date.format', array('date' => $event->start, 'format' => 'l, j. F Y, H:i','timezone'=>'UTC' )); ?> - <?= helper('com://site/ohanah.date.format', array('date' => $event->end, 'format' => 'H:i','timezone'=>'UTC')); ?>
to be only one PHP line. How can I accomplish this? The Output of this two lines is:
Sonntag, 7. Januar 2018, 19:30 - 20:40
I tried something like this:
<?=
helper('com://site/ohanah.date.format', array('date' -> $event->start, 'format' -> 'l, j. F Y, H:i' . "-" . -> $event->end, 'format' -> 'H:i','timezone'=>'UTC'));
?>