943,753 Members | Top Members by Rank

Ad:
Oct 22nd, 2008
0

day problem

Expand Post »
please help me.
urgent

i have one date in a txtBox1.what i want is, after i click the button, the other date will appear on txtBox2. The other date is the date after several days such as 7 days.
so, how or what the coding to enable the other date will appear.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
sarifah is offline Offline
9 posts
since Oct 2008
Oct 22nd, 2008
0

Re: day problem

Take the value of the date in Text1 and then add any number you want (Say7), format the result with any date format you like to display like- "dd-mmm-yyyy" and the display the result in Textbox2.

You can get value of Year, Month and Day form the formal date format like 2-Aug-2008.

If you dont know how to get date Value, ask in the forum again
I hope you can do this
Reputation Points: 10
Solved Threads: 4
Light Poster
K.Vanlalliana is offline Offline
44 posts
since Jul 2008
Oct 22nd, 2008
0

Re: day problem

please show me the coding with 'toggle plain text' to make more clear.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
sarifah is offline Offline
9 posts
since Oct 2008
Oct 22nd, 2008
0

Re: day problem

can you post what you have tried so far .
Featured Poster
Reputation Points: 665
Solved Threads: 427
Posting Genius
debasisdas is offline Offline
6,406 posts
since Feb 2007
Oct 23rd, 2008
0

Re: day problem

Use the DateAdd function
Reputation Points: 11
Solved Threads: 49
Posting Whiz
jireh is offline Offline
316 posts
since Jul 2007
Oct 26th, 2008
0

Re: day problem

I wrote this for someone else but it will work for you, except it adds a random number.
Attached Files
File Type: zip RandomDate.zip (1.7 KB, 15 views)
Reputation Points: 10
Solved Threads: 2
Newbie Poster
rstkw is offline Offline
20 posts
since Oct 2008
Oct 29th, 2008
0

Re: day problem

is this solved???
Reputation Points: 10
Solved Threads: 2
Junior Poster in Training
smile4evr is offline Offline
53 posts
since Aug 2008

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: starting coding with VB
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: label disappears





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC