How many specific days within a date range in Javascript
问题 I have two dates. One is starting date and another is ending date. I want to calculate how many Saturdays, Mondays and Wednesdays falls within the date range? How can I solve it? I saw several tutorial but they are only counting the dates within date range. Thanks in advance. I am using the following code to calculate only business days but I need only how many saturdays, mondays and wednesdays falls within the date range. <!DOCTYPE html> <html> <head> <meta charset=utf-8 /> <title>JS Bin<