Page 1 of 1

Re: Date Format and other questions

Posted: 11 Jun 2009, 00:45
by Jan
Hi, see:
administrator\components\com_virtuemart\pdf\delivery.pdf.php
administrator\components\com_virtuemart\pdf\phoca.tcpdf.php

Jan

Re: Date Format and other questions

Posted: 06 Jan 2010, 00:08
by Tobiwankenobi
Hi,

take a look at the FAQ: https://www.phoca.cz/documents/18-virtue ... te-receipt
Change the file ps_delivery.php in the directory administrator/components/com_virtuemart/classes

There three queries can be found:

Code: Select all

1 <?php
2 $q = "SELECT *, FROM_UNIXTIME(cdate, '%Y-%m-%d') as order_date";
3 ?>
By simply changing the pattern "%Y-%m-%d" to the desired date format (like "%d.%m.%Y) does it. The characters are standing for day, month and year.


Best regards
Tobiwankenobi