This is probably something simple I am overlooking, I have a client that wants to show the order date +5 in the admin. I have found where it calls the order date in the admin in control/orders.php
Code:
<td class="dataTableContent" align="center"><?php echo zen_datetime_short($orders->fields['date_purchased']); ?></td>
Now I need to take that date purchased and add 5 days to it. I know this is completely wrong but something like
Code:
$ordered_date = zen_datetime_short($orders->fields['date_purchased']);
$ordered_date_plus_five = $ordered_date+5;
I know that is far from correct and I need to pull out the day of the date but just so you get the idea.. then I can call the $ordered_date_plus_five in the loop
Any help would be nice!
Thanks in advance!
Bookmarks