Days between gives you a number. It counts the number of days between one date and the other.
Your "TimeToComplete" attribute is currently a date time. You probably want to set it to decimal instead, so you can fill it with the number of days between the start and end of the workflow.