Have you thought about adding month and day fields to the table and populating them beforeSave? Less processing required when you want to run your cron job.
Jeremy Burns Class Outfit http://www.classoutfit.com On 22 Jun 2013, at 21:13:01, Chris <[email protected]> wrote: > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/cake-php. > For more options, visit https://groups.google.com/groups/opt_out. > > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out.
