InfoPath doesn't provide any built-in way to calculate date differences in a straightforward manner. There is a somewhat convoluted way to do it codelessly:
http://alecpojidaev.wordpress.com/2008/12/30/infopath-codeless-programming-walkthrough-2/
The other option is a code-based approach. qRules provides a way to make use of code-only functionality without actually writing any code. It provides a DateDiff command, which would be just right for this, along with a multitude of other functionality. I recommend checking it out.