Tag Archives: date format

Date Format / time zone

To change timezone:


list of supported: http://php.net/manual/en/timezones.php

Example for using custom date format on property.php template file:

<?php if(!empty($estate_data_option_37)): ?>
<p class="bottom-border">
<?php $date_variable = $estate_data_option_37; ?>
<?php echo date('j F Y', strtotime($date_variable)); ?>
<?php endif;?>

PHP documentation for date function: http://php.net/manual/en/function.date.php

37 is example field ID #, can be found in Admin->{listings}->fields