public function the_date($format = null) { if ($format) { return mysql2date($format, $this->post_date); } else { return mysql2date(get_option('date_format'), $this->post_date); } }