Alex Potter : not at all. This is not the symfony function :

http://trac.symfony-project.org/browser/branches/1.1/lib/helper/DateHelper.php#L36

In my sample, arguments are not in the good order :

<?php echo date_format($created_at, 'd') ?>

is better ;)

Alex'

2010/1/12 Alex Potter <[email protected]>

> On Tuesday 12 January 2010 17:20:09 Alexandre Salomé wrote:
> > Hello,
> >
> > <?php use_helper('Date'); ?>
> > <?php echo date_format('d', $created_at); ?>
> >
> > If not "d", then try others : D, f, F, p, P ... don't remember every one.
> >
> http://www.tutorialspoint.com/php/php_function_date_format.htm
>
> HTH
>
> Alex
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<symfony-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>
>


-- 
Alexandre Salomé
http://alexandre-salome.fr
--
You received this message because you are subscribed to the Google Groups "symfony users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.

Reply via email to