Solved

Set Windows95 DOS Date to Btitish (dd/mm/yy)

Posted on 1997-09-18
5
1,152 Views
Last Modified: 2013-12-16
I am the Systems Admin. for a bank and need to standardize
date representation across all computing platforms.
I changed the regional settings in Win95 Control Panel to
British date (dd/mm/yy) but I noticed Win95 DOS still
displays the date in American format (mm/dd/yy).
How do I change the date format display for Win95 DOS?
How do I make Win95 year 2000 compliant (The Win95 short date only shows 2 digits for the century)?
Can the British date in Win95 be set to (dd/mm/yyy)?
How can I change DOS 6.22 date to British format:(dd/mm/yyyy)?
I know it's a mouthful!
"Knowledge is power, but it is only useful if it is shared!"
Thanks in advance.
0
Comment
Question by:denmarkw
[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
5 Comments
 
LVL 14

Accepted Solution

by:
smeebud earned 100 total points
ID: 1750663
Have you tried Control panel|Date/Time properties to be set for your time zone.
I'll look into the dos 6.22, but you are probably not using 6.22 but 1111.
or do you boot to 6.22
0
 
LVL 14

Expert Comment

by:smeebud
ID: 1750664
Here's what 6.22 help has to say:
-------
To convert international currency, time, date, and case to French
conventions, add the following command to your CONFIG.SYS file:

country=033

For this example, assume that the COUNTRY.SYS file is in the root directory
of the startup drive. If COUNTRY.SYS is in a different location, you would
specify the location in [drive:]path on the command line.

To specify a character set with the country code for France, type the
following:

country=033,850

If you omit the character set but include the [drive:][path] filename
parameter, you must still type the comma that would have preceded the
character set, as the following example shows:

country=033,,c:\dos\country.sys
================
Enables MS-DOS to use country-specific conventions for displaying times,
dates, and currency; for determining the order by which characters are
sorted; and for determing which characters can be used in filenames. You can
use this command only in your CONFIG.SYS file.

The COUNTRY command configures MS-DOS to recognize the character set and
punctuation conventions observed when using one of the supported languages.

Syntax

COUNTRY=xxx[,[yyy][,[drive:][path]filename]]

Parameters

xxx
Specifies the country code.

yyy
Specifies the character set for the country.

[drive:][path]filename
Specifies the location and name of the file containing country
information.

Related Commands

For information about changing characters and their arrangement on your
keyboard, see the <KEYB> command, or see the chapter "Customizing for
International Use" in the MS-DOS User's Guide.

For information about preparing and selecting character sets, see the
<MODE (set device code pages)> command.

For information about loading country-specific information, see the
<NLSFUNC> command.
If this is not plain, let me know and i'll go farther.
0
 
LVL 14

Expert Comment

by:smeebud
ID: 1750665
Changing default settings
 
MS-DOS uses the United States as the default setting. You
can use the
COUNTRY command in your CONFIG.SYS file to change the
setting.
 
If you do not specify the location and name of the file containing
country-specific information, MS-DOS tries to find the COUNTRY.SYS file in
the root directory of your startup drive.
 
Specifying supported languages
 
The following table lists each country or language supported by MS-DOS. The
table also lists the character sets you can use with each country code. For
example, if you use country code 003, you can use only character set 437 or
850 for the yyy parameter. The first of the two character sets listed for
each country or language is its default character set.
 
Country or language    Country       Character sets
                       code
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
 
Belgium                032           850, 437
 
Brazil                 055           850, 437
 
Canadian-French        002           863, 850
 
Croatia                038           852, 850
 
Czech Republic         042           852, 850
 
Denmark                045           850, 865
 
Finland                358           850, 437
 
France                 033           850, 437
 
Germany                049           850, 437
 
Hungary                036           852, 850
 
International          061           437, 850
English
 
Italy                  039           850, 437
 
Latin America          003           850, 437
 
Netherlands            031           850, 437
 
Norway                 047           850, 865
 
Poland                 048           852, 850
 
Portugal               351           850, 860
 
Serbia/Yugoslavia      038           852, 850
 
Slovakia               042           852, 850
 
Slovenia               038           852, 850
 
Spain                  034           850, 437
 
Sweden                 046           437, 850
 
Switzerland            041           850, 437
 
United Kingdom         044           437, 850
 
United States          001           437, 850
 
Character sets for the following countries or languages are also available
with special versions of MS-DOS: Arabic, Israel, Japan, Korea, People's
Republic of China, and Taiwan.
 
Specifying international time and date formats
 
The country code specifies the time and date formats used by the following
MS-DOS commands: BACKUP, DATE, RESTORE, and TIME.
 
The following table lists the date and time formats related to each country
code. For each country code, the "Date format" column shows how MS-DOS
displays January 3, 1993, and the "Time format" column shows how MS-DOS
displays 5:35 P.M. (with 0 seconds and 0 hundredths of a second).
 
Country or language    Country       Date         Time format
                       code          format
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
 
Belgium                032           23/01/1993   17:35:00
 
Brazil                 055           23/01/1993   17:35:00
 
Canadian-French        002           1993-01-23   17:35:00
 
Czechoslovakia         042           1993-01-23   17:35:00
 
Denmark                045           23-01-1993   17.35.00
 
Finland                358           23.01.1993   17.35.00
 
France                 033           23.01.1993   17:35:00
 
Germany                049           23.01.1993   17:35:00
 
Hungary                036           1993-01-23   17:35:00
 
International          061           23-01-1993   5:35:00.00p
English
 
Italy                  039           23/01/1993   17.35.00
 
Latin America          003           23/01/1993   5:35:00.00p
 
Netherlands            031           23-01-1993   17:35:00
 
Norway                 047           23.01.1993   17:35:00
 
Poland                 048           1993-01-23   17:35:00
 
Portugal               351           23-01-1993   17:35:00
 
Spain                  034           23/01/1993   17:35:00
 
Sweden                 046           1993-01-23   17.35.00
 
Switzerland            041           23.01.1993   17,35,00
 
United Kingdom         044           23/01/1993   17:35:00.00
 
United States          001           01-23-1993   5:35:00.00p
 
Yugoslavia             038           1993-01-23   17:35:00
 
Character sets for the following countries or languages are also available
with special versions of MS-DOS: Arabic, Israel, Japan, Korea, People's
Republic of China, and Taiwan.
 
                                      


0
 

Author Comment

by:denmarkw
ID: 1750666
I am concerned about this scenario with the Windows95
environment:
We have an bank application that uses the system date (from DOS 6.22 currently) to verify accounting control functions.
This and other applications will be migrated to Windows95 env.
with dates standardized to European (British) format (dd/mm/yyyy)
currently we are using American date format (mm/dd/yy).
I can change the regional Date settings in Win95 to British, but
it is not year 2000 compliant (dd/mm/yyyy) i.e. the short date
in Win95 only uses 2 digits for the century. Furthermore, DOS
for Windows95 still displays the date in American format (mm/dd/yy) after changing the settings and rebooting Win95.
Will the DOS 6.22 config.sys settings work for Win95 DOS as well?

Appreciate your help!

Thanks in advance,

Denmark
0
 
LVL 14

Expert Comment

by:smeebud
ID: 1750667
"Will the DOS 6.22 config.sys settings work for Win95 DOS as well?"
As far as I know, yes. Just use the config.sys still.
Here's what the Dos 6.22 says;
==========
Displays the date and prompts you to change the date if necessary.
 
MS-DOS records the current date for each file you create or change; this
date is listed next to the filename in the directory.
 
Syntax
 
    DATE [mm-dd-yy]
 
Parameter
 
mm-dd-yy
    Sets the date you specify. Values for day, month, and year must be
    separated by periods (.), hyphens (-), or slash marks (/). The date
    format depends on the COUNTRY setting you are using in your CONFIG.SYS
    file. The following list shows the valid values for the month, day, and
    year portions of the mm-dd-yy parameter.
 
    mm    1 through 12
 
    dd    1 through 31
 
    yy    80 through 99    or    1980 through 2099
 
Related Command
 
For information about changing the current time, see the <TIME> command.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

An article on effective troubleshooting
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
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…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

724 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