DF-837 implementation. Added date check before MD5 calculation.