A Type 'date' Variable For Today, Does It Exist?

Hi,

I am using an add-on from Cart-power for editing my invoices and need to put the date the payment is made on the invoice. There is the variable order_date, but it is not necessarily the same as payment date, because I have customers that put an order online and then come to pay at our shop some days later. Hence, the invoice is not issued until the payment is made and cannot carry the date of the order.

I issue the invoice immediately when the payment is made, so I need some kind of 'today' variable. Is there a variable that gives me today's date??

Thanks!

yasemin

Current timestamp can be received in the following way.

PHP:

$today = TIME;

Templates:

{$today = $smarty.const.TIME}

Thanks! I will try this out.