|
| |
|
|
Moody_99
Posts: 15 From: Slough, Berks, United Kingdom Status: offline
|
Tommorows date as a default value on a ASP form field - 3/15/2001 18:06:00
Hi EveryoneDoes anyone here know how to display the current date +1 day. In other words tommorrows date as a default value in a ASP page form field. The UK format is preferred as DD/MM/YY e.g. 16/03/01 I am also having trouble with validation in the above format. A user can input 123321/12/312 and it with still accept it. I really appreciate your help.
|
|
|
|
Moody_99
Posts: 15 From: Slough, Berks, United Kingdom Status: offline
|
RE: Tommorows date as a default value on a ASP form field - 3/17/2001 20:16:00
After following the above hyperlink I am only given the following example which adds one month to January 31: NewDate = DateAdd("m", 1, "31-Jan-95") But I want to add 1 Day to today's date, which changes everyday. What modification will I need to make?
|
|
|
|
Spooky
Posts: 26599 Joined: 11/11/1998 From: Middle Earth Status: offline
|
RE: Tommorows date as a default value on a ASP form field - 3/17/2001 20:55:00
Just above that is the information you need."d" stands for days and you would +1 to the number
|
|
|
|
Moody_99
Posts: 15 From: Slough, Berks, United Kingdom Status: offline
|
RE: Tommorows date as a default value on a ASP form field - 3/17/2001 20:12:00
Hi Spooky Thanks. Please could youy check you mail at Spooky@outfront.net. I have sent you few important messages. thanks again.
|
|
|
|
Moody_99
Posts: 15 From: Slough, Berks, United Kingdom Status: offline
|
RE: Tommorows date as a default value on a ASP form field - 3/17/2001 20:32:00
The following code below refers to my date field: So where shall I put the "=DateAdd(d,+1)" <!--webbot bot="Validation" S-Display-Name="Arrival Date" S-Data-Type="String" B-Allow-Digits="TRUE" S-Allow-Other-Chars="/" B-Value-Required="TRUE" I-Minimum-Length="5" I-Maximum-Length="8" --> <INPUT NAME="Arr_Date" SIZE=8 value="00/00/01" maxlength="8">
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|