- Acme Themes

Best Premium and Free WordPress Themes Forums SuperMagPro Date and thme format Reply To: Date and thme format

#11461
pyrius
Participant

Hi I have problem with date and time, I try to change in wp but its not working.

After lot time I find this:

<?php
/**
* Date display functions
*
* @since supermag 1.0.0
*
* @param string $format
* @return string
*
*/
if ( ! function_exists( ‘supermag_date_display’ ) ) :
function supermag_date_display( $format = ‘l, j. F Y.’) {
echo esc_html( date_i18n( $format ,current_time( ‘timestamp’ ) ) );
}
endif;

and change date in format witch is ok for my but I do not know how to adjust time.

I whont this format 16:30:20 and now have 4:60:30 PM

Pleas help!