<font color="blue"> I know petrol goes off but does diesel. </font>
Sort of, but in a ways that might surprise you.
Very fresh diesel fuel will precipitate out a sludge that drops to the bottom of the tank, where it can build up. If the tank's pickup is too low, some of this sludge can be sucked up and may clog the filter. If any of it gets to the engine, it can damage it.
Water may find its way into the tank, either directly from the fuel source or through condensation over time. If any of the water gets past the filter and/or water separator, it can do a lot of damage. Water and diesel engines do not mix.
If there is any water in the diesel tank, microbes can grow at the fuel water interface, given enough time. The growth is frequently, but improperly called algae. Sloshing can cause the microbial material to mix with the diesel fuel, and it can really clog a filter in a hurry.
Once you get a tank with "algae" in it, short of draining the tank completely, the only way to get rid of it is to treat the tank with a biocide and buy a large supply of filters. The best source for a tank full of this stuff is a gas station with a diesel pump that gets used infrequently.
A lot of people who depend on diesels with large tanks routinely add a biocide to their fuel. One biocide that I have had good results with in the past is BioBor JF.
Biocide added to a fresh tank of fuel will prevent any growth from occurring. Biocide added after the growth has begun will kill whatever is there, but it will still clog filters if it isn't drained from the tank.
I can't match the nine year story, but I have seen a diesel run on a tank that hadn't been refilled for at least seven years. The tank had been treated with BioBor JF.