Thanks Paulp.
i try to use that one bus i almost had a brain damage hahaha...
at the end searching a lot i find this:
Just put that inside a snippet:
if($pub_date > 0 ) {
$timestamp = $pub_date ;
} else {
$timestamp = $modx->documentObject['editedon'];
}
return strftime("%d-%m-%Y %H:%M:%S", $timestamp);
and call it whatever you want...
is really nice!
thank you any way!!!