// Set start and end time
$content['start'] = generateDateTime($content['start_time'], 1);
$content['end'] = generateDateTime($content['end_time'] , 1);
if ($expired === true) {
// Set start and end time
$content['start'] = generateDateTime($content['start_time'], 1);
$content['end'] = generateDateTime($content['end_time'] , 1);
if ($expired === true) {