|
-
May 14th, 2006, 09:30 PM
#1
Thread Starter
Lively Member
[RESOLVED] how do I input the today's date into a text box automatically?
okay,, I am an idot. How do get the date from the system clock so I can use it as a variable? variable name most likely "varDateEntered"
Last edited by tarius222000; May 14th, 2006 at 09:40 PM.
Reason: error in subject
-
May 14th, 2006, 09:57 PM
#2
Re: how do I input the today's date into a text box automatically?
If varDateEntered is defined (in a Dim statement) as a date, use varDateEntered= Now(). If it's defined as a string (which the contents of a textbox would be), use varDateEntered = Format(Now(), "mm-dd-yyyy") (or whatever format you want.)
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
-
May 14th, 2006, 10:02 PM
#3
Thread Starter
Lively Member
Re: how do I input the today's date into a text box automatically?
wootness.. thank you lots
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|