"The writing on the tombstone doesn't quite match the date of 22 July 1540
If the Hebrew data is correct then the date should be about 1 August 1540 or it could be wrong Hebrew date and then it is a match to 22 July 1540"
The Gregorian date of 1 Aug 1540 translates to the Julian date of 22 Jul 1540. While we currently use the Gregorian calendar, they used the Julian calendar at that time.
https://stevemorse.org/jcal/julian.html
The dating of 22 July 1540 is Gregorian. The conversion was done by the Steinheim Institute for German-Jewish Studies. See: http://www.steinheim-institut.de/cgi-bin/epidat?id=ffb-482&lang=de