Thursday, July 29, 2010

Re: time helpers question

On Wed, July 28, 2010 5:48 pm, amititi wrote:
> Hello, I'm learning cake using the "Beginning CakePHP: From Novice to
> Professional" and i got to a point where it gives me an exercise and i
> can't figure it out. It look like these :
>
> "use the nice() function to make the
> $post['Post']['date'] value more readable. Hint: you'll need to pass
> the variable to the function for it to
> work properly."
>

er.

echo $this->Time->nice($post['Post']['date'])

> Can you share a thought? help me understand the mechanism/logic of
> this ?? thanks


--
Mike Karthauser
Managing Director - Brightstorm Ltd

Email: mikek@brightstorm.co.uk
Web: http://www.brightstorm.co.uk
Tel: 07939 252144 (mobile)
Fax: 0870 1320560

Address: 1 Brewery Court, North Street, Bristol, BS3 1JS

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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: