Skip to content
Snippets Groups Projects
Commit 089fad0f authored by Robert Anderson's avatar Robert Anderson
Browse files

Show date in the format: Y-m-d

parent 0877d310
No related branches found
No related tags found
No related merge requests found
...@@ -479,7 +479,7 @@ function displayDetails() { ...@@ -479,7 +479,7 @@ function displayDetails() {
?> ?>
</td> </td>
<td align="center" class="value"><?php echo $trafficRow['ValidFrom']; ?></td> <td align="center" class="value"><?php echo $trafficRow['ValidFrom']; ?></td>
<td align="center" class="value"><?php echo $trafficRow['Expires']; ?></td> <td align="center" class="value"><?php $thisDate = strtotime($trafficRow['Expires']); echo date("Y-m-d",$thisDate);?></td>
</tr> </tr>
<?php <?php
} }
...@@ -511,7 +511,7 @@ function displayDetails() { ...@@ -511,7 +511,7 @@ function displayDetails() {
?> ?>
</td> </td>
<td align="center" class="value"><?php echo $uptimeRow['ValidFrom']; ?></td> <td align="center" class="value"><?php echo $uptimeRow['ValidFrom']; ?></td>
<td align="center" class="value"><?php echo $uptimeRow['Expires']; ?></td> <td align="center" class="value"><?php $thisDate = strtotime($uptimeRow['Expires']); echo date("Y-m-d",$thisDate);?></td>
</tr> </tr>
<?php <?php
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment