Using the Time Helper is much like using the HTML helper. Remember when you created a link?
So after adding the Time helper to the PostsController :
var $helper = array('Html', 'Form', 'Time');
You will need to edit the date in view.ctp:
Date Published:
to:
Date Published: nice($post['Post']['date'])); ?>
Yay!
More CakePHP tutes to follow as i go along!




Want To Be Heard? Comment Here!
// I Love Comments, Especially Nice Ones
You can follow any responses to this entry via its RSS comments feed. You may also leave a trackback by clicking this link.