Place the pitted dates in a medium sized bowl and set aside.
Place each date on a chopping board, using a paring knife, chop the dates in half lengthways .
Then chop each half into thin strips (this is very important).
Preheat the air fryer.
Place the thin strips of dates into the air fryer basket being careful (you may need to do this in batches).not to overcrowd.
Roast the dates at 180C/356F until semi solid (I roasted mine for exactly 6 minutes).
Leave the dates to completely cool down and become solid. To speed this process up I recommend putting them in the freezer, checking periodically until solid.
Once the dates are solid, inspect them with your fingers, they should snap in half and NOT be soft at all.
Place a small amount of solid dates in a spice/coffee grinder (2-3 tablespoon at a time).
Pulverize the dates by stopping and starting the grinder to make a ground/fine consistency and repeat the above step with the rest of the dates (being sure to work in very small batches at a time).
.Store the date sugar in an air tight mason jar in a cool place.