Start by placing the dates into a large, heavy bottomed pot. Add the onions and apples. as well as the ginger and apple cider vinegar with a pinch of salt, and bring the entire mixture to a boil.
Let boil gently for 30 minutes, until the dates have broken down.
Taste for any additional sugar as well as more vinegar. Let it continue to gently boil until it reaches your desired texture--I like the dates fairly broken down so mine gently boiled for at least an hour. Let cool before transferring to containers to freeze or chill.