[xquery-talk] the least stupid way to just print the current datein xquery
jidanni at jidanni.org
jidanni at jidanni.org
Fri Dec 2 01:40:18 PST 2011
>>>>> "RG" == Rademacher, Gunther <Gunther.Rademacher at softwareag.com> writes:
RG> It would be
RG> adjust-date-to-timezone(current-date(), ())
RG> See http://www.w3.org/TR/xquery-operators/#func-adjust-date-to-timezone
$ basex -vq 'current-date()'
2011-12-02+08:00
Query executed in 36.88 ms.
$ basex -vq 'adjust-date-to-timezone(current-date(), ())'
2011-12-02
Query executed in 35.33 ms.
I'm sold! Thanks!
More information about the talk
mailing list