Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7003573
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T21:05:13+00:00 2026-05-27T21:05:13+00:00

If user entered date as 1st june 2011 (01/06/2011) in dd/mm/yyyy format after conversion

  • 0

If user entered date as 1st june 2011 (01/06/2011) in dd/mm/yyyy format

after conversion it returns “6th jan 2011” instead o f “1st june 2011”.

Let me explain how it converts it in 1st jan 2011.

User entered = 01/06/2011 (dd/mm/yyyy)   i.e. 1st june 2011
After conversion it returns = 01/06/2011 (mm/dd/yyyy) i.e. 6th jan 2011

Remember: user date format is not known at design time. it is being fetched from database and stored in a variable (string)

Is there any solution of it.

Please provide the solution related to VB6 only NOT in .net

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T21:05:14+00:00Added an answer on May 27, 2026 at 9:05 pm

    Fine I had written my own method to break the date into tokens as I found no other method to resolve the issue.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have to compare a user entered date, Dt (in mm/dd/yyyy format) with the
I'm validating a user-entered date string in YYYY-MM-DD format using Zend_Validate::is($value,'Date') . This call
I want to perform this date check: The date entered by the user should
I need to check whether an entered date [ taking input from user in
We have an application where user sets his/her preferred date/time format. User is expected
i want to translate user entered english content to hindi language.So, for that whenever
I cannot seem to get user entered data into a table and then printed.
I am trying to parse user entered string like A12, into a Haskell tuple,
i am using an edittext for the user input in which user entered his
I use jQuery Validation plugin to ensure what user entered positive cost_of_car in first

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.