Skip to content

Instantly share code, notes, and snippets.

@ricardofiorani
Created May 27, 2015 17:55
Show Gist options
  • Select an option

  • Save ricardofiorani/e4b5bcc0eccc67c2d6a1 to your computer and use it in GitHub Desktop.

Select an option

Save ricardofiorani/e4b5bcc0eccc67c2d6a1 to your computer and use it in GitHub Desktop.
public function exibirDataDiaMes($time) {
$data = DateTime::createFromFormat('Y-m-d', $time);
return $data->format('d/m/Y');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment