(a) In a suit for dissolution of a marriage in which the court grants a divorce, the court shall state the date of the marriage in the decree of divorce.
(b) This section does not apply to a suit for dissolution of a marriage described by § 2.401(a)(2).