TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
ramaraju srinivas
NA
22
33.7k
Counting no of days between dates
Jul 28 2011 10:28 AM
Hi,
I am working on leave module. we maintain all holidays related dates in holidaydatadase list . when leave is applied the start date and enddate is menctioned . so we need to count no of days between the start and end dates
- holidays .
For this i wrote a caml query
<Where><And><Geq><FieldRef Name='holiday'/><Value Type='DateTime'>" +FromDate + "</Value></Geq><Leq><FieldRef Name='holiday'/><Value Type='DateTime'>" + Todate + "</Value></Leq></And></Where></Query>"
holiday is a column in holidaydatabase list.
i am getting zero values when this query is executed
can any on help
Reply
Answers (
2
)
Maintain single list on two subsites in a site collection
Silverlight webpart(grid) in Sharepoint 2010