You could just use Date.today

Works in both 1,8.* and 1.9.*

It is also in the documentation