Already solved it.

Op woensdag 15 oktober 2014 01:34:08 UTC+2 schreef Abdelmajid el Ibrahimi:
>
> Hello,
>
> setisodate is a datetime function that can give you a date by entering 
> year, week, day. Only the problem is i cant get it to work:
> $time=new Time($datum);
> $week= $time->format('%W');
> $jaar= $time->format('%Y');
> $datum= $time->setISODate($jaar,$week,$weekdag); //year , week num , day
> return $datum;
>
> It gives me a error back i read that Time class includes DATETIME
>

-- 
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/d/optout.

Reply via email to