db2-fn:current-local-time function
The db2-fn:current-local-time function returns the current time in the local time zone.
Syntax
Returned value
The returned value is an xs:time value that is the current time. The returned value does not include a time zone component.
Example
The following function returns the
current time.
db2-fn:current-local-time()If
this function were invoked at 6:31 Greenwich Mean Time (GMT) and the
local time zone is Eastern Standard Time (-PT5H), the returned value
might be 01:31:35.519001.
