Hello,
I am trying to use the time helper to format a date object string.
I am trying to use this script:
echo($time-niceShort($post['Post']['created']));
but all I get is this as an error:
Notice (8): Undefined variable: time [APP/views/posts/index.ctp, line
10]
Fatal error: Call to a
That's usually a sign that you forgot to include the Time helper at
the controller.
eg: var $helpers = array('Time');
On Mon, Jun 2, 2008 at 1:41 AM, gokujou [EMAIL PROTECTED] wrote:
but all I get is this as an error:
Notice (8): Undefined variable: time [APP/views/posts/index.ctp, line 10]