System Date Format

Discussion in 'AutoCAD' started by jackie, Feb 24, 2004.

  1. jackie

    jackie Guest

    Hi, all
    Is there a way to make the date on the computer to look like "2/20/2004"
    instead of "02/20/2004" using VBA? Maybe thru Win API functions.

    What I see from differecnt pcs are different. Some pcs show "2/24/2004",
    but others "02/20/2004".

    I know this format can be changed mannually thru Control Pannel.

    I did not mean to use format function, format(date,"#/#/####").
    Thanks.
     
    jackie, Feb 24, 2004
    #1
  2. jackie

    Ben Guest

    Have a look 'here' (http://tinyurl.com/yuqpa)

    Hopefully that should get you started. It may need to be altered due
    to which OS you are using this for.
     
    Ben, Feb 24, 2004
    #2
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 (here). After that, you can post your question and our members will help you out.