I currently have this code in my ajax-dashboard.php file but I'm confused on how to change the day number in the date from 1 to 01 e.g. 1 Feb to 01/02?
Code: Select all
<?php if(isset($mrecordwindgust)) { ?>
<tr>
<td colspan="2" class="data1" align="center">
<?php langtrans('Month'); ?>: <?php echo $mrecordwindgust. " $uomWind"; ?>
<?php if(isset($mrecordhighgustday)) { ?>
<?php echo date("d/m"); ?>
<?php } // $mrecordhighgustday ?>
</td>
</tr>
<?php } // $mrecordwindgust ?>Sorry to bother you again,
William