Date picker

please helpl me I have really tried to sort this oout but Im just getting confused?

how would I use the date field component to get a start date and an end date but then work out how many days had gone by??

please some one help me!!!