XQuery -Date function- current-time Function - XQuery

What is the syntax to use the current-time function?

The current-time function is used to return the current time.

Syntax

Example

XQuery Expression

Output

Verify the Result

In order to test the above-mentioned functionality, replace the contents of books.xqy (mentioned in Environment Setup cchapter) with the above XQuery expression and execute the XQueryTester java program to verify the result.

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

XQuery Topics