public function getSignupDate($format = null) { if ($format) { $this->signup_date->setFormat($format); return $this->signup_date->__toString(); } else { return $this->signup_date->get(); } }