Friday, January 20, 2012

Re: date Field in german format dd.mm.yyyy

whats the problem using google here? ;)

"date behavior cakephp"

=> http://www.izzycode.com/cakephp/cakephp-behavior-auto-date-formatting-parser.html


On 20 Jan., 09:58, AD7six <andydawso...@gmail.com> wrote:
> On Jan 20, 8:28 am, "schulte.christ...@googlemail.com"
>
> <schulte.christ...@googlemail.com> wrote:
> > Dear euromark,
>
> > thanks for your advice...
> > Can you provide me some more advice on this or maybe the code?
> > TIA
>
> If you're able to rewrite the string from dd.mm.yyyy to yyyy.mm.dd
> (which is just a preg_replace call) - you just need to apply that in
> beforeSave to any date values which match that format. What part of
> that are you struggling with?
>
> AD

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: