Ditching Hourly

How do you go about budgeting time for a project?