The (modified) duration of a spot payment is (slightly less than) the amount of time remaining until the payment is received. Thus, the duration of a 6-month investment in cash starts at about 6 months, then winds down to zero as the maturity approaches. On average, therefore, it will be half of the original maturity, or 3 months, 0.25 years.