Beispiel #1
0
function start_to_end($starts, $ends)
{
    global $twentyfourhour_format;
    $start_date = utf8_strftime('%A %d %B %Y', $starts);
    $start_time = utf8_strftime(hours_minutes_seconds_format(), $starts);
    $end_date = utf8_strftime('%A %d %B %Y', $ends);
    $end_time = utf8_strftime(hours_minutes_seconds_format(), $ends);
    return $start_date . " " . $start_time . " - " . $end_date . " " . $end_time;
}
Beispiel #2
0
function start_to_end($starts, $ends)
{
    global $twentyfourhour_format;
    $start_date = userdate($starts, '%A %d %B %Y');
    $start_time = userdate($starts, hours_minutes_seconds_format());
    $end_date = userdate($ends, '%A %d %B %Y');
    $end_time = userdate($ends, hours_minutes_seconds_format());
    return $start_date . " " . $start_time . " - " . $end_date . " " . $end_time;
}