About PicoraDateTime

Hi,

I wish to use this new class : PicoraDateTime. First, I was surprise to not find trace of this in the online documentation.

I found a little bug in the validate function, it call an undefined function. On line 57 we have to replace :

$datetime = dateTimeFromTimeStamp(time());

By : (add the "self::")

$datetime = self::dateTimeFromTimeStamp(time());

Posted August 27th, 2007 at 9:11am by SuperDevy

I have added a useful function :

static public function monthNameFromDateTime($datetime = false){
    return self::monthNameFromNumber((int)self::monthFromDateTime($datetime));
}

Posted August 31st, 2007 at 5:20am by SuperDevy

Login or Register to Post