|
-
Nov 19th, 2003, 05:45 PM
#1
Thread Starter
New Member
-
Nov 19th, 2003, 05:55 PM
#2
yes
but it depends how the string or text holds the date.
more info please
-
Nov 19th, 2003, 07:18 PM
#3
It may also depend on what the date format is for your system, but in general Try using Date.Parse(mystring).
-
Nov 20th, 2003, 02:04 PM
#4
Thread Starter
New Member
I have two forms.
On the first form the user uses a DATETIMEPICKER and chooses a date. The date is then inserted into a TEXT field in the format of DD-MMM-YY (ie. 11-Nov-03).
This text value is then passed over to a second form.
In this second form I assign a new date type variable.
I think that I would need to do an assignment from the TEXT value that is passed into the 2nd form to the new date type variable?
It errors out on the assignment line.
Dim as dt as date
dt = tempdate
' where tempdate is the date that is passed in from the other form
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
|