hey, you can split the string....

example ($datevar is the value in your database date field):
$splitted = explode('-',$datevar);
$year = $splitted[0];
$month = $splitted[1];
$day = $splitted[2];

is that what you mean?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to