Solved

How to change system date format with VB?

Posted on 2004-08-13
4
1,346 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

861 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now