Microsoft KB Archive/109045

= Works: How to Use Leading Zeros in a Date =

Article ID: 109045

Article Last Modified on 11/15/2004

-

APPLIES TO


 * Microsoft Works 2.0 Standard Edition
 * Microsoft Works 2.0a
 * Microsoft Works 3.0 Standard Edition
 * Microsoft Works 3.0a
 * Microsoft Works 3.0b
 * Microsoft Works 4.5 Standard Edition
 * Microsoft Works 4.5a
 * Microsoft Works 4.0 Standard Edition
 * Microsoft Works 4.0a

-



This article was previously published under Q109045



SUMMARY
If you want to format a date with leading zeros in single-digit months and days, you can change the Month and Day settings in the International section of the Windows Control Panel.

For example, you may want 7/5/92 to display as 07/05/92 instead.

This affects dates with the following formats:


 * month/day/year


 * month/day


 * month/year



MORE INFORMATION
To add leading zeros to the month or day, use the steps below for your version of Windows:

Windows 95

 * 1) Click Start, point to Settings and then click Control Panel.
 * 2) Double-click Regional Settings.
 * 3) On the Date tab, change the Short Date Style to one with double digits, for example, MM/dd/yy.
 * 4) Click OK, then close the Control Panel and restart Works.

The above date formats will now have leading zeros on single-digit months and/or days in Windows and Works.

Windows 3.1

 * 1) Double-click the Windows Control Panel,usually located in the Main program group of Program Manager.
 * 2) Double-click the International icon.
 * 3) In the Date Format box, click Change.
 * 4) Select the Day Leading Zero(07, 7) or the Month Leading Zero (02, 2) boxes.
 * 5) Click OK.
 * 6) Click OK to exit the International settings.
 * 7) Close Control Panel and restart Works.

The above date formats will now have leading zeros on single-digit months and/or days in Windows and Works.

Additional query words: 3.00 2.00 2.00a 3.00a 3.00b 4.00 4.00a 4.50 4.50a kbhowto w_works regions set zero changing db versus

Keywords: kbhowto kbinfo KB109045

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.