Results 1 to 3 of 3

Thread: Dates formats...

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 1999
    Location
    St-Élie d'Orford, Quebec, Canada
    Posts
    133
    Hi all,

    how can I SET ( not get ) the Day, Month and Year parts of a Date Data type ( like in C++ below) in order it's always going to fit in every system (and I don't think Format can to the job here) :

    myCOleDateTime.SetDate(2000, 04, 20); // YYYY MM DD

    EX :

    Dim a as Date

    ' I want to put 08-09-2000 in "a" and I want it to
    ' always be considered like 8 of september 2000 in any
    ' system configuration.

  2. #2
    Fanatic Member
    Join Date
    Jan 2000
    Location
    Nitro
    Posts
    633
    Have you taken a look at the function "DateSerial" yet?
    Chemically Formulated As:
    Dr. Nitro

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jul 1999
    Location
    St-Élie d'Orford, Quebec, Canada
    Posts
    133
    Thank a lot Nitro !!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width