public function testMillisecondLocal() { $year = 2009; $month = 2; $day = 13; $hour = 23; $minute = 31; $second = 30; $time = CTime::fromComponentsLocal($year, $month, $day, $hour, $minute, $second); $this->assertTrue($time->millisecondLocal() == 0); $time = new CTime(0, 250); $this->assertTrue($time->millisecondLocal() == 250); }