I need a javascript function to take the current date and time and an integer number of days and add the two together to return the future date. The function should exclude weekends and holidays. The code should also incorporate current time as explained below.
It should basically be like this, but without the datepicker portion of the code. I had difficulty getting it to work without the datepicker portion.
[login to view URL]
Examples:
Wednesday, 9/16/2017 1:00 PM + 1 day ---- returns: Thursday 9/16/2017
Thursday, 9/16/2017 1:00 PM + 2 days ---- returns: Monday 9/17/2017
====================
if the cutoff time for Thursday at 2 PM, then anything after should add a day
Example:
Wednesday, 9/16/2017 5:00 PM + 1 day ---- returns: Friday 9/17/2017
Thursday, 9/16/2017 5:00 PM + 2 days ---- returns: Tuesday 9/18/2017
I need to enter a different time for each Weekday
Monday: 1:00 PM
Tuesday: 2:00 PM
Wednesday: 3:30 PM
Thursday: 3:30 PM
Friday: 4:00 PM
- This should also allow for a variable to set a holiday schedule.
- Can set everything for Pacific Time Zone.
If you are interested in this project, please mention that you have experience with working with javascript dates in the response so I can filter out the best entries.
Thank You.
Hello sir
I hope you are doing well.
After reading your offer, this looks like a perfect fit for my skill sets so May I discuss with you for further details about this project?
Stay tuned, I'm still working on this proposal.
I have experience in working with javascript dates and can do this task easily
Relevant Skills and Experience
Javascript
Proposed Milestones
$25 USD - Complete task