|
-
Mar 8th, 2007, 09:44 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] Get the current date
Hi
I need to obtain the current date but I don't like to use Now because
it will show the long form including hours ,minutes and seconds...
I just want the ordinary date : dd/mm/yyyy
Any ideas ?!
Thanks Horazio.
-
Mar 8th, 2007, 09:46 AM
#2
Re: Get the current date
Try date or use the format command
Sometimes the Programmer
Sometimes the DBA
Mazz1
-
Mar 8th, 2007, 09:48 AM
#3
Re: Get the current date
Code:
Dim strToday As String
strToday = Format(Now, "dd/mm/yyyy")
-
Mar 8th, 2007, 10:30 AM
#4
Thread Starter
Hyperactive Member
Re: [RESOLVED] Get the current date
Yeah! This is what I was looking for.
Thankyou.
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
|