Click here to Skip to main content
15,885,914 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to Evaluate below Expression using C# Code:

HTML
xs:date($refPeriodEndDate)-xs:dayTimeDuration('P14D')



i want result of this Expression using C# hw its work on c#.
Posted
Updated 8-Jan-15 1:46am
v3

1 solution

You can do it by using XPath, take a look: http://www.w3.org/TR/xpath-functions/#dt-dayTimeDuration[^]

CSS
10.3.2 xs:dayTimeDuration

[Definition] xs:dayTimeDuration is derived from xs:duration by restricting its lexical representation to contain only the days, hours, minutes and seconds components. The value space of xs:dayTimeDuration is the set of fractional second values. The components of xs:dayTimeDuration correspond to the day, hour, minute and second components defined in Section 5.5.3.2 of [ISO 8601], respectively.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900