Saturday, June 22, 2013

illuminate, remove Year in birthday field in cake 1.3

Hi guys,... can anyone help me please
Ho w can I illuminate (remove) Year in "birthday" field from users table? The concept is to find ONLY Month and Day (e.g. 06-21) from 1964-06-21 
I'm doing this cronjob feature to send email to friends of a user once the Birthday is reached... e.g. $this->Email->subject = ucfirst(i18n::translate('your friend'))  . ' : ' . $user['User']['firstname'] . ' ' . ucfirst(i18n::translate('celebrating birthday')); on a Social Network site. 

thanks in advance 
chris

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: