Results 1 to 3 of 3

Thread: dd/mm/yyyy ?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2000
    Location
    New Delhi, India
    Posts
    75

    Question

    i have created an application which displays date in dd/mm/yyyy format. the machine in which the application is installed is being used by more than one use so that different date formats are set for each individual when they login with their user id and password. how can i check whether the date is in dd/mm/yyyy format. i should also be able to change the format to dd/mm/yyyy. anybody to help me?

    Thanx

  2. #2
    Guest
    How are you showing it? Are you using the format function?

    Code:
    fdate = Format$(Date, "d mm yyyy") 'Returns 7 08 2000
    
    'or 
    
    fdate =  Format$(Date, "d m yyyy") 'Returns 7 8 2000
    For more information on the Format function, look in your VB Help File.

  3. #3
    Guest
    Try:
    Code:
    If Text1 Like "##/##/####" Then
        Print "Format is correct"
    Else
        Print "Format is incorrect"
    End If

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