|
-
Mar 8th, 2004, 11:37 AM
#1
Thread Starter
Fanatic Member
Get current Date and Time
Hey,
I was expecting this question to be easily found, but i was really suprised to not see anything on this. Even a quick search of msdn didnt return any helpful results.
Can anyone help me with some code to just get the current date and time? I wana get this and then put it in a text file.
Thanks! Cya!
-
Mar 8th, 2004, 11:49 AM
#2
Hyperactive Member
where I work we get it from sql with a query
Mudfish AKA Bowfin
I can spell "If" all day right, just a coder!
"Always do sober what you said you'd do drunk. That will teach you to keep your mouth shut." -- Ernest Hemingway
Member of the ECCC

-
Mar 8th, 2004, 12:03 PM
#3
Addicted Member
Just use "Now.ToLongDateString"
or "Now.ToLongTimeString"
-
Mar 8th, 2004, 12:06 PM
#4
Junior Member
Dim Getdate As DateTime
Getdate = Now()
-
Mar 10th, 2004, 05:49 AM
#5
Thread Starter
Fanatic Member
thanks, ill try it out when i get home
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
|