Hi,
I have this problem for 2 days now, I keep on trying to calculate the two dates that will give me the total fines, The Total fines can be calculated by the number of days that the book has been burrowed excluding weekends(Saturday and Sunday) which means "Date Today - Date Due" but I need to calculate the fines without counting the weekends. For example The Due Date was on Oct 04, 2019 and The book was returned on Oct 07, 2019 the total fines should only be "1" not "3".
I just dont know what code to use.
Please see Image, Code Thanks. Below Thanks.
Please Login or Register to view this content.
Capture.PNGPlease Login or Register to view this content.
Bookmarks