This CodeLet calculates the weekdays and eliminates weekends from the calculation. This CodeLet creates all the days from a start date to end date from a date field and keeps only weekdays. Some of the statmenete in this CodeLet reflects the project specific requirements. This CodeLet is work for a Drupal 7.x date field having end date enabled. The CodeLet takes only start date and end date in form of array as argument.
Read more: Drupal Date field: Calculate weekdays.
