Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > Pro JSP
| Search | Today's Posts | Mark Forums Read
Pro JSP Advanced JSP coding questions. Beginning questions will be redirected to the Beginning JSP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro JSP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 20th, 2005, 09:55 PM
Registered User
 
Join Date: Nov 2005
Location: Fort Laudedale, Florida, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to danieljava
Default 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
 
Old January 16th, 2006, 05:56 AM
Friend of Wrox
 
Join Date: Jan 2006
Location: San Francisco, CA, USA.
Posts: 198
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Have you looked at java.util.GregorianCalendar?

Jon Emerson
Computer Scientist
Adobe Systems, Inc.




Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascript Not working sohrabus ASP.NET 2.0 Professional 4 May 5th, 2007 12:42 PM
working with multiple forms jill2new Visual Basic 2005 Basics 1 March 1st, 2007 06:48 PM
C# classes working for multiple forms w/ reseting Nathan Fleming C# 2005 1 September 11th, 2006 04:45 PM
Working with Forms and Popup window in Javascritp danieljava JSP Basics 0 November 20th, 2005 09:57 PM
Working with forms cutovoi Excel VBA 1 January 23rd, 2004 07:18 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.