public void deleteAppointment(){
		
		String sYear = (this.dateSelected.getYear() + 1900) + "";
		String sMonth = ( this.dateSelected.getMonth() + 1 ) + "";
		String sDay = this.dateSelected.getDate() + "";

		if ( sMonth.length() < 2 )
		{
			sMonth = "0" + sMonth;
		}

		if ( sDay.length() < 2 )
		{
			sDay = "0" + sDay;
		}

		String sDate = sYear + "-" + sMonth + "-" + sDay;
		
		Statement state = DBConnection.OpenConnection();
		String commandstring = String.format("DELETE FROM appointments WHERE Pet_ID = '%s' AND Date = '%s' AND Time = '%s' AND Service_Name = '%s'", this.nPetID, sDate, this.sTimeSelected, this.sServiceName );
		if(state != null){
			try {
				state.execute(commandstring);
				
				state.close();
			} catch (SQLException e) {
				System.out.println(e.getMessage());
				System.out.println("Error: Appointment.java - deleteAppointment()");
			}
		}
		else
			System.err.println("Error: Appointment.java - deleteAppointment()");
		
	} // end of deleteAppointment()