Question: how to find difference between two dates in xslt?
Answer: 3 Answers. A nicer (and shorter) alternative for XSLT 1.0 is to compute the equivalent Julian dates and subtract them. Repeat for the second date and you'll have two integers. Then, simply subtract them.