The date on that coin is 1223, with a regnal year of 37 (around 1845 in the Gregorian calendar). Otherwise saying, this coin is from the 37th year of Mahmud II's reign. The problem with that is that Mahmud II only reigned for 32 years (he died in 1839), meaning your coin has an impossible date on it. Fictitious dates on these coins always means they are counterfeits.