If a person wants to apply for the visa in advance, he or she can apply it before three months too, as the validity of the visa is 180 days or three months.