Place the apricots in a bowl and pour in enough boiling water to cover them. Let the apricots soak for 30-60 minutes. Drain the apricots and place them in a saucepan. Add the garlic, ginger, sugar, vinegar, cayenne pepper and salt and bring to a boil over high heat. Reduce the heat and simmer the ingredients, stirring occasionally, for 20 minutes. Add the dates and raisins and cook for another 20-25 minutes or until the fruits are tender and thick. Let cool. Makes about 2-1/2 cups