View date time in symfony 4

$object->getCreatedAt()->format(‘d/m/Y’)