Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > Pro JSP
Password Reminder
Register
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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
Reply With Quote
  #2 (permalink)  
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 03:59 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.