423,873 Members | 2,153 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 423,873 IT Pros & Developers. It's quick & easy.

how to calculate the number of working hours in Week excluding Weekends in JavaScript

P: 1
please suggest how to code the below scenario with javascript or jquery. I am trying to code a calculator that calculates the time between two dates excluding weekends i.e a task comes to the desk on Friday at 12.00am and ends on coming Tuesday 08:00 am. it should calculate the time between Friday and Tuesday excluding Saturday and Sunday. it should give o/p 56 hrs
Oct 12 '17 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.