import module namespace dt = "http://www.zorba-xquery.com/modules/datetime";

dt:parse-date( "Freitag 12/28/12", "%A %D", "de-DE" )




(: Example configuration (taken from zorba testsuite):

Result: /builddir/build/BUILD/zorba-2.8.0/test/rbkt/ExpQueryResults/zorba/datetime/datetime-parse-date-uA-uD-2.xml.res
Error: http://www.zorba-xquery.com/errors:ZOSE0007


---------------------------------------------------------------------------------------


---------------------------------------------------------------------------------------

Expected output:

2012-12-28




:)