Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Easy SQL Server Question

Options
  • 03-08-2001 1:30pm
    #1
    Registered Users Posts: 7,468 ✭✭✭


    What is the vb(6) equivilant datatype of SQL Server's DateTime?

    [This message has been edited by Evil Phil (edited 03-08-2001).]


Comments

  • Closed Accounts Posts: 19,777 ✭✭✭✭The Corinthian


    Date. Note that Date literals must be enclosed within hashes (#).

    Examples:

    Private dMyDate As Date
    dMyDate = Now()
    dMyDate = #August 3, 2001#

    "Just because I'm evil doesn't mean I'm not nice." - Charlie Fulton

    [This message has been edited by The Corinthian (edited 03-08-2001).]


  • Registered Users Posts: 7,468 ✭✭✭Evil Phil


    doh!


Advertisement