Results 1 to 3 of 3

Thread: Date format

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2000
    Location
    Germany
    Posts
    1

    Post

    Hi,
    I have a problem with date formatting.

    The result of
    d$ = date$
    is 02-01-2000

    and the result of
    datum$ = Format(Date$, "dd/mm/yy")
    is 02.01..0

    What I expected was "01.02.00".

    What can I do ?

    Thanx
    Senor Valasco



    ------------------
    ...I drink my milk with tabasco

  2. #2
    Lively Member
    Join Date
    May 1999
    Location
    Atlanta, GA
    Posts
    75

    Post

    The format expression "dd/mm/yy" states that you want to see the date as two digit day (dd), two digit month (mm), and two digit year (yy). What you probably want to use is "mm/dd/yy".

    Jay

  3. #3
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845

    Post

    also, the date format functions are dependant on you PC's regional settings...

    ------------------
    Mark Sreeves
    Analyst Programmer

    [email protected]
    A BMW Group Company



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