Both measures are termed "duration" and have the same (or close to the same) numerical value, but it is important to keep in mind the conceptual distinctions between them. Macaulay duration is a time measure with units in years, and really makes sense only for an instrument with fixed cash flows. For a standard bond the Macaulay duration will be between 0 and the maturity of the bond. It is equal to the maturity if and only if the bond is a zero-coupon bond.