Date and Time in VB

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
-----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
 
David said:
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

Now()
 
Back
Top