Zen Follower
- Join Date:
- Dec 2008
- Location:
- Utah, USA
- Posts:
- 183
- Plugin Contributions:
- 7
Call Order Date plus 5
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
<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
$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!