2 application with different date format

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vb4me
    New Member
    • Feb 2008
    • 4

    2 application with different date format

    I have 2 applications developed in vb,

    1. work on windows default format
    2. works on dd-MM-yyyy

    i have now given the user a configuration with help of that they can change date format, but some times that for get and the problem occurs.

    if you have some better solution plz let me know.


    BR
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    Please pass few more details , How are you changing the date format ?

    Comment

    • vb4me
      New Member
      • Feb 2008
      • 4

      #3
      Originally posted by debasisdas
      Please pass few more details , How are you changing the date format ?
      Actually I am changing the date format using windows api. But this changes windows date format, which some times create problem in some excel sheets.

      Comment

      • debasisdas
        Recognized Expert Expert
        • Dec 2006
        • 8119

        #4
        It is better to format the date before processing to a particular format.
        Then it won't matter how the user enters the date in application.

        Comment

        • vb4me
          New Member
          • Feb 2008
          • 4

          #5
          Originally posted by debasisdas
          It is better to format the date before processing to a particular format.
          Then it won't matter how the user enters the date in application.
          Well, thats right, thnx

          Comment

          Working...