First you need to cut the dates into halves, hence you will need to stone them
Take a pan add dates, ground spices, salt, ginger, vinegar and chili powder. Keep cooking till the dates become tender.
On these add sugar and keep cooking till the mixture starts thickening.
Take the pan of fire and add raisins and almonds in it. Keep stirring.
Once the paste is ready, pour the contents into a jar and close tightly. To be served after 4 days.