Forums Questions & Help I am trying to find a way to find the difference between two dates. for example, the difference between current date - previous dates = number of days or number of weeks or number of months. Can anyone help me please. Thank you XPATH It's XPATH. I did not test it but my first try would be something like here: http://stackoverflow.com/questions/5544762/finding-the-difference-betwe… Log in or register to post comments Thank you, I will try it. Thank you, I will try it. Log in or register to post comments Hello, Hello, try this: {days-from-duration(xs:date(/Net-Name/Date-Variable)-xs:date(current-date())} Im using this XQuery in my net for a Input-Binding Log in or register to post comments Log in or register to post comments
XPATH It's XPATH. I did not test it but my first try would be something like here: http://stackoverflow.com/questions/5544762/finding-the-difference-betwe… Log in or register to post comments
Hello, Hello, try this: {days-from-duration(xs:date(/Net-Name/Date-Variable)-xs:date(current-date())} Im using this XQuery in my net for a Input-Binding Log in or register to post comments
XPATH
It's XPATH. I did not test it but my first try would be something like here:
http://stackoverflow.com/questions/5544762/finding-the-difference-betwe…
Thank you, I will try it.
Thank you, I will try it.
Hello,
Hello,
try this:
{days-from-duration(xs:date(/Net-Name/Date-Variable)-xs:date(current-date())}
Im using this XQuery in my net for a Input-Binding