Jump to content

How to find difference between 2 dates in days in xslt1.0


Recommended Posts

I more so took the time to study xslt, but not enough to write it off the back of my hand.Use a predicate in the path expression:

<!--...--><value-of select="/root/[child0/@data0 gt child1/@data1]" /><!--...-->
It all depend on what you want to do?XSLT is a template process. Finding the different between date's, and then what? Edited by L8V2L
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...