Hi,
I need to find out the start and end time of the function executed in xquery. For example when I click on the link find Collections( this is an xquery in which html is also embedded), this calls another xqy file on which the code for finding new collections is written. Now, I need to find the start and end time for this function. For this, I tried using fn:current-dateTime() at the start and end of this function and saving these values in an xml which is in turn stored in db. But since it is a single transaction, both start and end time is same. I think, for finding endTime we can use xdmp:elapsed-time and add that to fn:current-dateTime(). but how to add time to dateTime, to get again the dateTime format? Some other approach is also welcomed. Thanks Pragya "This e-mail and any attachments transmitted with it are for the sole use of the intended recipient(s) and may contain confidential , proprietary or privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this e-mail or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful."
_______________________________________________ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general