public function second($value = null)
    {
        if ($value !== null) {
            if ($value > 59 || $value < 0) {
                $this->second = 0;
            } else {
                $this->second = $value;
            }
        }
        return $this->second;
    }
public function second($value = null)
    {
        if ($value !== null) {
            if ($value > 59 || $value < 0) {
                $this->second = 0;
            } else {
                $this->second = $value;
            }
        }
        return $this->second;
    }
public function second ( $ value = null ) { if ( $ value !== null ) { if ( $ value > 59 || $ value < 0 ) { $ this -> second = 0 ; } else { $ this -> second = $ value ; } } return $ this -> second ; }
Set the second field of the date object

@param int the second
@return int the second
Set the second field of the date object