How do i calculate duration in mit app inventor

You have applied instants to your "end" socket using Clock1.Now, so it should be apparent that you would apply an instant to the "start" as well.

You will need to convert your date string to an instant using this block (and some text manipulation!)