It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming Visual Basic Forum

Date type in VB

Moderator: dafunkymunky

Date type in VB

Postby cleopard on Thu Jan 17, 2008 9:24 pm

I'm simply curious about the difference between:

expiration = "01/17/08 15:22:00 PM"

and

expiration = #01/17/08 15:22:00 PM#

where 'expiration' is defined as:

Dim expiration As Date

I know the pound signs indicate a value of type 'Date', but apparently assigning it as a string works as well. The book I have doesn't elaborate on the difference. Thank you.
cleopard
 
Posts: 2
Joined: Mon Jan 08, 2007 2:28 pm
Location: Mossville, IL

Who is online

Users browsing this forum: No registered users and 8 guests