Solved

How to change system date format with VB?

Posted on 2004-08-13
4
1,351 Views
Last Modified: 2008-01-09
Hi friends!

  I have developed an application in VB 6.0, which requires the
system date format to be 'dd/mm/yyyy' to function properly.At
present, I'm changeing it from the control panel before installing
the application in each system.

  Is there any way to change it programmatically? If so, please
give me the coding to change the system date format.

  Thank You!
0
Comment
Question by:vkani
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 19

Accepted Solution

by:
Shauli earned 100 total points
ID: 11798762
0
 
LVL 76

Expert Comment

by:GrahamSkan
ID: 11799041
I would suggest that you change the application to use whatever the date format the user has chosen. Some users might have want it the way that they have set it.
The VB Date/time value is the same regardless of the display format.
0
 
LVL 4

Expert Comment

by:ark4877
ID: 11800975
0
 
LVL 1

Author Comment

by:vkani
ID: 11803350
Thank you Shauli,
           your link gave me exactly what I was looking for.

0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month10 days, 1 hour left to enroll

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question