I copy and pasted the following code to add the date to my invoice numbers I got from another post and tried to fix the errors as posted but it is still not working.
<td class="main"><b><?php echo ENTRY_ORDER_ID . $oID . '-' . date(Y,strtotime($order->info['date_purchased'])) ; ?></b></td>
Anyone see where I went wrong?
I tried different variations. I also had YMD as I do want the day month and year.
Thanks
Jason
Canada
Bookmarks