Hi Marco, the new format-...() functions belong to the list of features that need to be finalized for XQuery 3.0. One of the reasons is that their syntax has changed a little over the last months. Just have some patience.
Thanks, Christian ___________________________ On Thu, Mar 14, 2013 at 3:57 PM, Marco Lettere <marco.lett...@dedalus.eu> wrote: > Hi again, > > when, in Basex 7.6, formatting a datetime with > > format-dateTime(current-dateTime(), > "[Y0001][M01][D01][h01][m01][s01][Z0000]") > > I was expecting something like > > 20130314035118+0100 > > for my area (Central Europe) and instead I get > > 201303140351180060. > > Looks like minutes are not translated to hours and the sign is missing. For > documentation I'm referring to > > http://www.w3.org/TR/xpath-functions-30/#rules-for-datetime-formatting. > > Thanks, > M. > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk@mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk