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
Solved

How to change system date format with VB?

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

808 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