Acqua

format('Ymd') < date('Ymd') ) { $date_passed = 'date-passed'; } echo ''; $unixtimestamp = strtotime(get_sub_field('prg_datemultiple_data')); echo date_i18n($dateformatstring, $unixtimestamp); echo ''; echo "
"; endwhile; else : endif; break; case "singolo": $end_date_passed_check = DateTime::createFromFormat('Ymd', get_field('prg_datasingola')); $date_passed = 'date-future'; if ( $end_date_passed_check->format('Ymd') < date('Ymd') ) { $date_passed = 'date-passed'; } echo ''; $unixtimestamp = strtotime(get_field('prg_datasingola')); echo date_i18n($dateformatstring, $unixtimestamp); echo ''; break; case "periodo": $unixtimestamp1 = strtotime($prg_periodo_inizio); $unixtimestamp2 = strtotime($prg_periodo_fine); echo "dal ".date_i18n($dateformatstring, $unixtimestamp1); echo " al ".date_i18n($dateformatstring, $unixtimestamp2); break; } ?>
Arona (NO)

Evento su più date

Lorem Ipsum è un testo segnaposto utilizzato nel settore...

format('Ymd') < date('Ymd') ) { $date_passed = 'date-passed'; } echo ''; $unixtimestamp = strtotime(get_sub_field('prg_datemultiple_data')); echo date_i18n($dateformatstring, $unixtimestamp); echo ''; echo "
"; endwhile; else : endif; break; case "singolo": $end_date_passed_check = DateTime::createFromFormat('Ymd', get_field('prg_datasingola')); $date_passed = 'date-future'; if ( $end_date_passed_check->format('Ymd') < date('Ymd') ) { $date_passed = 'date-passed'; } echo ''; $unixtimestamp = strtotime(get_field('prg_datasingola')); echo date_i18n($dateformatstring, $unixtimestamp); echo ''; break; case "periodo": $unixtimestamp1 = strtotime($prg_periodo_inizio); $unixtimestamp2 = strtotime($prg_periodo_fine); echo "dal ".date_i18n($dateformatstring, $unixtimestamp1); echo " al ".date_i18n($dateformatstring, $unixtimestamp2); break; } ?>
Arona

Evento passato

Compleanno Antonello