An AFO can last up to two years from the date of issuance, as specified by the court. However, the duration can be shorter, depending on the circumstances of the case.