* Thus wrote Ryan A ([EMAIL PROTECTED]): > > From: "Ryan A" <[EMAIL PROTECTED]> > > > > > A bit confused, I downloaded a function and it says it takes a "date > > > object"....what exactly is a "date object"? > > > > > > This is exactly what is written " The function takes a date object as > its > > > only parameter." > > > > No such thing. If you look at the code, though, it looks like it expects > an > > array such as the one returned from getdate(). > > > > ---John Holmes... > > Yep, noticed the getdate() thing but was just confused about the "date > object" and went through the manual again plus google wondering how the heck > did I miss "date objects" when learning PHP :-)...
Here's a little tip: $a = (object) getDate(); print_r($a); haha.. now you got your date object :) Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php