1
I’m doing a search with mysql, where the return is a field DATE
, I need to dismember this field in DAY, MONTH, HOUR, SECONDS and put each one within a variable, I’m not able to do this, I tried to do for a query but this returning
Resource id #18
Resource id #19
The query I made is as follows::
SELECT DATE(DAT_EHORA_EVENT) FROM tbl_CLIENTES_AGENDA WHERE COD_SEQUN_AGEND = '".$linha['COD_SEQUN_AGEND']."'
And to reverse the date like it really does ?
– Renan Rodrigues
Because it comes YYYY-MM-DD ?
– Renan Rodrigues
You say format to dd/MM/yyyy?
– Maicon Carraro
Comes like this because it is formatting inside Mysql
– Maicon Carraro
that, exactly more already get.
– Renan Rodrigues