How can I set the default value for a date to be today?

How is this a solution? What approach did you take to the lifecycle?