Hi Guys
I think I might be doing something really silly here the problem I have is this
when trying to work out the days between to dates using this
DateDiff("d", [Forms]![UnexCapacityDatesSelectionForm]![StartDate], [Forms]![UnexCapacityDatesSelectionForm]![EndDate])
this gives the number of days including weekend
replacing with this
DateDiff("w", [Forms]![UnexCapacityDatesSelectionForm]![StartDate], [Forms]![UnexCapacityDatesSelectionForm]![EndDate])
or this
DateDiff("ww", [Forms]![UnexCapacityDatesSelectionForm]![StartDate], [Forms]![UnexCapacityDatesSelectionForm]![EndDate])
returns the same value?
am I right in thinking that "W" = weekdays and "WW" = Weeks between the two dates
if this is correct has anyone got any idea why it's not working and returning the same figure for both.
many thanks
Steve