public function getStartDate($format) { return gmdate($format, gmmktime(0, 0, 0, $this->getStartMonth(), 1, $this->getStartYear())); }
public function testStartDate() { $this->card->setStartMonth('11'); $this->card->setStartYear('2012'); $this->assertEquals('112012', $this->card->getStartDate('mY')); }