I am trying to right a formula to show hours and minutes from a start date and time to a finish date and time, but not to include weekends and only the times between 08:00 and 16:00. Can anyone help.
Using DayOfWeek (date) will give you a number, 1 to 7, with Saturday as 7 and Sunday as 1.
If you are selecting from records, this should filter out weekends. A separate selection could be done for time, using 'Datepart' to get hours and minutes.
It helps to give your Crystal version.
Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.