|
-
March 17th, 2006, 11:30 AM
#1
Concatenating strings to be a Date value
If I have 3 strings: Day, Month, Year (i.e. "01", "10", "1980")
How do I concatenate these strings so that they can be recognized as a Date type with formating mm/dd/yyyy. I can change them to be integers if needed. I'm thinking something along the lines of:
Code:
Dim birthDate As Date
birthDate = (Month + "/" + Day + "/" + Year)
But this code doesn't work.
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
|