There is no XML native to node, so I don't quite understand the question,
but I can tell you that the Date constructor takes most date formats as
input, and you can compare two Date instances to get the difference.

 https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Date

2012/2/15 Pedro Narciso García Revington <[email protected]>

> Hi,
>
> I want to check if the difference of two given dates equals a xs:duration
> value.
> How can I do it?
>
> Thanks in advance
>
> Pedro
>
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to