skip to Main Content

integrating a round up to my php time code

:-) So I do have edited some code I found online to this: function timeZone_funch( $atts ) { extract(shortcode_atts(array('timezone' => 'Europe/Berlin'), $atts)); /* Europe/Berlin is default Timezone */ $output = ''; if (in_array($timezone, DateTimeZone::listIdentifiers())) { date_default_timezone_set($timezone); $currentTime = date( 'H:i',…

VIEW QUESTION
Back To Top
Search