IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
Expand all | Collapse all

Comparing the Duration between two xs:dateTimes

  • 1.  Comparing the Duration between two xs:dateTimes

    Posted 11/13/06 05:18 PM

    Hi,
    I’m trying to get the duration in days between a stored date and the current date and then check if these are greater than 10

    I’ve tried subtracting one from the other, but this feature isn’t implemented. I’ve also tried adding an xs:duration() of 10 days to the stored date and seeing if the resulting date is greater than the current date, but again the feature isn’t implemented.

    Does anyone have any ideas?

    Ryan


    #webMethods
    #API-Management
    #Tamino


  • 2.  RE: Comparing the Duration between two xs:dateTimes

    Posted 01/08/07 04:04 PM

    Hi,

    please see enclosed xquery that uses a user-defined function to add days to a date.

    Regards,
    Juliane.
    datexquery.txt (1.38 KB)


    #Tamino
    #webMethods
    #API-Management