Auto-translated
well, if you have a variable h=1, then it will indeed remove a portion of the army every day. And there's no need for these complicated date calculations. If the feature becomes unnecessary, you can change the value of h to any number other than one.