bobg7 Posted February 4, 2007 Share Posted February 4, 2007 I have installed the Batch Print Center and it seems to be working very well, however I would also like to be able to print the TIME the order was placed. I will be using the Integrated Packing template and I see the code for order date: // order date if ($HTTP_POST_VARS['show_order_date']) { $pdf->ezSetY($dup_y); $pdf->ezText("<b>" . TEXT_ORDER_DATE . " </b>" . date(TEXT_ORDER_FORMAT, strtotime($order->info['date_purchased'])) ."\n\n",SUB_HEADING_FONT_SIZE,array('justification'=>'right')); } $y -= 10; In the database table orders > date_purchased the format is YYYY-MM-DD HH:MM:SS but it only prints the date but not the time. So how can I get it to display the time with the date? Thanks in advance, Bob G Quote Installed Contributions: CCGV, Close Popup, Dynamic Meta Tags, Easy Populate, Froogle Data Feeder, Google Position, Infobox Header Entire Row, Live Support for OSC, PayPal Seal with CC images, Report_m Sales, Shop by Price Revised, SQL Updater, Who's Online Enhancement, Footer, GNA EP Assistant and still going. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.