Gosh, sorry about that...  I am using 6.0-1.1 as well.  I'll try to give it a 
try with 6.0-2, but since both of you observe the correct behavior, I guess it 
is fixed.

  Thank you!  Regards,

-- 
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/



----- Mail original -----
> De : David Lee
> À : Florent Georges; MarkLogic Developer Discussion
> Cc : 
> Envoyé le : Lundi 10 décembre 2012 13h30
> Objet : RE: [MarkLogic Dev General] Subtract a duration from a date
> 
> Curious what version of MarkLogic are you using ?
> 
> 
> -----------------------------------------------------------------------------
> David Lee
> Lead Engineer
> MarkLogic Corporation
> d...@marklogic.com
> Phone: +1 812-482-5224
> Cell:  +1 812-630-7622
> www.marklogic.com
> 
> 
> -----Original Message-----
> From: general-boun...@developer.marklogic.com 
> [mailto:general-boun...@developer.marklogic.com] On Behalf Of Florent Georges
> Sent: Monday, December 10, 2012 7:06 AM
> To: MarkLogic General ML
> Subject: [MarkLogic Dev General] Subtract a duration from a date
> 
>   Hi,
> 
>   I guess I am missing the obvious, but the following query:
> 
>     xs:date('2012-08-29') - xs:dayTimeDuration('P1D')
> 
> when run in QConsole, returns 2012-08-27, where I would have
> expected 2012-08-28.
> 
>   Do I do anything wrong?
> 
>   Regards,
>  
> 
> -- 
> Florent Georges
> http://fgeorges.org/
> http://h2oconsulting.be/
> _______________________________________________
> General mailing list
> General@developer.marklogic.com
> http://developer.marklogic.com/mailman/listinfo/general
> 
_______________________________________________
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to