Hello,

using Query Console of MarkLogic-9.0-1.1-amd64, executing

PREFIX xs:<http://www.w3.org/2001/XMLSchema#>
SELECT (year("2017-08-17"^^xs:date) AS ?year) WHERE {}

returns null, while the following returns "2017"^^xs:integer correctly.
Same with other SPARQL date functions and with xs:datetime.

PREFIX xs:<http://www.w3.org/2001/XMLSchema#>
SELECT (year("2017-08-17T00:00:00"^^xs:date) AS ?year) WHERE {}

Best regards,
Norbert

_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to