|
-
Dec 19th, 2002, 11:40 AM
#1
Thread Starter
Fanatic Member
Date format
I want to get the date format as the following.
12/19/02
When I use this....
format(now,"d")
It comes out as.... 12/19/2002
This doesn't work anymore: Format(now,"mm/dd/yy")
Does anyone know a format command that will put the date in the format I want?
I really don't want to put it in variables and strip it down. If I can't get it with one format command, then I will just deal with it.
Thanks
-
Dec 19th, 2002, 11:56 AM
#2
Thread Starter
Fanatic Member
I got it
I got it. Here it is if anyone is interested.
Dim strDate = DateTime.Now.ToString("MM/dd/yy") & " " & Format(Now, "t")
Output is: 12/19/02 11:50 AM
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
|