I'm trying to calculate the number of work days (school days) between two dates using a custom calendar. I cannot simply format with %tb because I have start and end dates that are not defined by the calendar (non-school days). For example, if startdate is a Saturday and enddate is Friday, but Wednesday is a school holiday, I'd like to count only Monday, Tuesday, Thursday, Friday (=4).
I have found the workdays command, but that does not seem to use a bcal to define holidays/workdays.
Thanks for the help!
I have found the workdays command, but that does not seem to use a bcal to define holidays/workdays.
Thanks for the help!
Comment