I need to filter a timestamp as a code, but only when i filter the query
i work with postgres
<?php
$data = Incidence::find(array(
"columns" => array("to_char(create_at,'YYYYMMDD')"),
"order" => "id"
));
how i can to do it?
I need to filter a timestamp as a code, but only when i filter the query
i work with postgres
<?php
$data = Incidence::find(array(
"columns" => array("to_char(create_at,'YYYYMMDD')"),
"order" => "id"
));
how i can to do it?