Date and Time in VB

D

David

How do I return the date and time through VB code? I know "Date" will return
10/15/2004 and time will return a time, but how would I return:

10/15/2004 17:23:00

Thanks.
 
J

Jonathan Parminter

-----Original Message-----
How do I return the date and time through VB code? I know "Date" will return
10/15/2004 and time will return a time, but how would I return:

10/15/2004 17:23:00

Thanks.
.
Hi David,

msgbox "Current Date and Time is " & now()

Luck
Jonathan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top