![]() |
Working with Forms and Date in Javascript
Hello everyone:
I am creating a form in which the user select the Order Date 1) The date is selected from a dropdown boxes MM/DD/YYYY 1.1) So far the validation for Date is working --------------------------------------------------------------------- 3) WHAT IS PENDING IS HOW TO WORK WITH DATE: Controlling Five bussines days which will be Monday through Friday. 3.A) The user works Mon-Fri;therefore, he/she will select any days This is only an example.The user decided to choose a date, for example: 11/18/2005. The user hit the SUBMIT button and the javascripot should be able to control the following task: 3.A.1) The javascript should be able to add 5 bussines days not including Saturday or Sunday 11/19/2005 - this is Saturday and it can not to be included 11/20/2005 - this is Sunday and it can not to be included 11/21/2005 11/22/2005 11/23/2005 11/24/2005 11/25/2005 - this is the date that is going to show in the order Any help or sample that I can get good ideas, it will be appreciate Thanks to all for your time and HappyThanksgiving Daniel Daniel Java bufon1108@yahoo.com |
Have you looked at java.util.GregorianCalendar?
Jon Emerson Computer Scientist Adobe Systems, Inc. |
All times are GMT -4. The time now is 09:00 PM. |
Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.