1
I have a field in the table that is defined as dtConcat2
timestamp
CURRENT_TIMESTAMP
and in the insert it takes the date from the server and writes in this field, the problem when I print the invoice the date field comes out like this: Date of Request: 03 10:32:49/12/2017
My code is like this:
<strong>Data do Pedido:</strong>
<?php
echo implode('/',array_reverse(explode('-',$detalhe['dtConcat2'])));
?>
the time is in the middle between day and month, as I correct this to print the date correctly?
Has there been any response?
– novic