XPath compare date only for datetime filed

0
Hi, What is a simple way in Xpath to compare only the date part of the datetime field? Is there a way/function to get only the date part, otherwise i can think of is to set end of day time (23:59:59) on the input (in this case my comparison is db_datetime_field < input)   Thanks Shannon
asked
2 answers
0

Shannon,

Have you tried these XPath functions:

day-from-dateTime

month-from-dateTime

year-from-dateTime

Mike

answered
0

Mike,

Sorry if i was not clear, i am query with a date range, start and end, so it is something like 

 

db_datetime_filed > start and db_datetime_field < end

Thanks

Shannon

answered