On Thu, Jun 17, 2010 at 4:56 AM, jnjn <jn.nor...@gmail.com> wrote: > > Hello, > > On my cake blog i output dates on my posts with this line: > > <?php echo date('jF,Y',strtotime($post['Post']['date']));?> > > outputs: > 19March,2010 > > How can i output this: > 19 > March > 2010
This way? <?php echo date('j',strtotime($post['Post']['date']));?><br /> <?php echo date('F',strtotime($post['Post']['date']));?><br /> <?php echo date('Y',strtotime($post['Post']['date']));?> Best regards. -- MARCELO F ANDRADE Belem, Amazonia, Brazil "I took the red pill" Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en