Description
The fn:current-dateTime function takes no parameters, and returns the current date and time, with time zone. If the function is called multiple times within the same query, it returns the same value every time. The time zone is implementation-dependent.
This description is © Copyright 2007, Priscilla Walmsley. It is excerpted from the book XQuery by Priscilla Walmsley, O'Reilly, 2007. For a complete explanation of this function, please refer to Appendix A of the book. Arguments and Return TypeName | Type |
return value |
xs:dateTime |
ExamplesXPath Example | Results |
---|
current-dateTime() |
2006-04-10T13:40:23.83-05:00 |
See AlsoHistory |
Recommended Reading:
|