Friday, October 21, 2011

Format getCreatedAt and getUpdatedAt in Symfony

Example....
echo $article->getDateTimeObject('created_at')->format('m/d/Y');

1 comment: