Hey
I'm trying to create a holiday request tool. I have 2 Textboxes on a form which display a "Start Date" and an "End Date" of a vacation request.
I'm using the following code to display the number of days between the two dates in a label:
DateDiff(DateTimeValue(TextInput2.Text),DateTimeValue(TextInput3.Text))
Is it possible to filter this, so it only counts the number of weekdays? So if someone requests a week off work, the label would count 5 instead of 7?
Thanks,