Microsoft TechNet ITHome - Microsoft Year 2000 Product Guide
Microsoft Products
Product Entry Guide Detail


The Microsoft Year 2000 Resource Center Product Guide details specific Year 2000 information concerning Microsoft products. The information in the product guide is presented to assist IT professionals in planning their transition to the Year 2000. If you cannot find a specific product and it is not on the "Microsoft Products: Testing Yet to be Completed" list, you can assume it will NOT be tested for compliancy.
Microsoft will continually update the Year 2000 Product Guide with the most current Year 2000 test information. Visit the Year 2000 Product Guide for more details regarding the Microsoft Compliance Categories.

------------------------
Microsoft Year 2000 Resource Center
3D Movie Maker  1.0   (English)

Product Summary
Product: 3D Movie Maker Version: 1.0 Category:Compliant
Language: English OS: 32-Bit Win Release Date: 31 Jul 1995
Operational Range: -
Prerequisites: none
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0, Internet Explorer
Clock Dependencies: none
Last Updated: 29 Sep 1999
Product Details

How the product handles dates:

User files are the only data saved, and dates may not be read from or written to these files. There are dates associated with the creation and modification of user files but these are handled by the operating system only.

Two-digit shortcut handling:

Not Applicable

Recommendations:

See Internet Explorer compliance documents for information on necessary software updates or install the latest version of Internet Explorer from http://www.microsoft.com/ie.

 

 

 

 

 


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2.0    (Arabic)

Product Summary
Product: Access 2.0 Version: Category:Not Compliant
Language: Arabic OS: 16-Bit Win Release Date: 01 Apr 1994
Operational Range: 01 Jan 100 - 31 Dec 9999
Prerequisites: none
Product Dependencies: Windows 3.1, or Windows NT 3.0 or greater
Clock Dependencies: System Clock
Last Updated: 22 Apr 1999
Product Details



Why is the product not compliant?
Microsoft Access 2.x interprets dates entered with an abbreviated year format to mean the 1900s. That is, the dates 1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999. As a result, you must enter all 4-digits of the year for Access 2 to interpret the date as being in the 2000s.

Recommendations:
Problems may be avoided by consistently enforcing a long date format (4-digit years) for entry and display. An upgrade to Microsoft Access 95 (version 7.0) or Microsoft Access 97 (version 8.0) is recommended for those for whom the above solution is not sufficient.

Description of how the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.
Microsoft Access relies on the Jet Database engine to store data. It uses shared VBA components to perform calculations on Date/Time data.
Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.
Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. Custom formats can be created to display years as 4-digits.


2-digit shortcut handling:
Microsoft Access 2.x interprets dates with an abbreviated year format in the following way.

1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999


Common date usage errors:

Using the Short Date Input Mask will limit your users' ability to enter dates outside of the 2-digit year short cut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.


Testing guidelines and recommendations:
In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely.
The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Access within your organization.

Functionality

Areas Affected

Testing Notes

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform look-ups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

 

Are there other known issues in the product that are date related?

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q109703

ACC: How to Find the Number of Days in a Month

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

 

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

 

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q125003

ACC: DateDiff() Ignores Start Date, Not End Date, with "ww"

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103996

ACC: Imported Microsoft Excel Date Fields Are Off by 4 Years

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

Q104973

ACC: DateDiff() Function Returns Incorrect Value

 

 



Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2.0    (Chinese - Traditional)

Product Summary
Product: Access 2.0 Version: Category:Not Compliant
Language: Chinese - Traditional OS: 16-Bit Win Release Date: 01 Apr 1994
Operational Range: 01 Jan 0100 - 31 Dec 9999
Prerequisites: none
Product Dependencies: Windows 3.1, or Windows NT 3.0 or greater
Clock Dependencies: System Clock
Last Updated: 22 Apr 1999
Product Details



Why is the product not compliant?
Microsoft Access 2.x interprets dates entered with an abbreviated year format to mean the 1900s. That is, the dates 1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999. As a result, you must enter all 4-digits of the year for Access 2 to interpret the date as being in the 2000s.

Recommendations:
Problems may be avoided by consistently enforcing a long date format (4-digit years) for entry and display. An upgrade to Microsoft Access 95 (version 7.0) or Microsoft Access 97 (version 8.0) is recommended for those for whom the above solution is not sufficient.

Description of how the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.
Microsoft Access relies on the Jet Database engine to store data. It uses shared VBA components to perform calculations on Date/Time data.
Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.
Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. Custom formats can be created to display years as 4-digits.


2-digit shortcut handling:
Microsoft Access 2.x interprets dates with an abbreviated year format in the following way.

1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999


Common date usage errors:

Using the Short Date Input Mask will limit your users' ability to enter dates outside of the 2-digit year short cut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.


Testing guidelines and recommendations:
In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely.
The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Access within your organization.

Functionality

Areas Affected

Testing Notes

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform look-ups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

 

Are there other known issues in the product that are date related?

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q109703

ACC: How to Find the Number of Days in a Month

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

 

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

 

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q125003

ACC: DateDiff() Ignores Start Date, Not End Date, with "ww"

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103996

ACC: Imported Microsoft Excel Date Fields Are Off by 4 Years

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

Q104973

ACC: DateDiff() Function Returns Incorrect Value

 

 



Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2.0    (Czech)

Product Summary
Product: Access 2.0 Version: Category:Compliant*
Language: Czech OS: 16-Bit Win Release Date: 01 Apr 1994
Operational Range: 01 Jan 0100 - 31 Dec 9999
Prerequisites: Access 2.0 software update: Two-Digit Date Patch (see below)
Product Dependencies: Windows 3.1, or Windows NT 3.0 or greater
Clock Dependencies: System Clock
Last Updated: 01 Oct 1999
Product Details

The compliance of Access 2.0 has changed from Not Compliant to Compliant* with the release of the Access 2.0 software update. See below for details.

How the product handles dates:

Storage

Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information. Microsoft Access relies on the Jet Database engine to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting

Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.


Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. Custom formats can be created to display years as 4-digits.

Recommendations to meet compliance:

Obtain a software update from the following article in the Microsoft Knowledge Base:

Q231408 ACC2: Access 2.0 Two-Digit Date Patch Available on MSL

The Microsoft Access 2.0 Two-Digit Date Patch enhances the following functionality:

1. Access 2.0 will interpret 2-digit year dates based on a setting in the WIN.INI file. By default, Access 2.0 will interpret 2-digit year dates in the 1900-1999 range, which is the product’s behavior before the Two-Digit Date Patch is installed. If a user has the following section and settings in their WIN.INI file, Access 2.0 will use a date window based on a 100-year range, with the ending year being the value specified by the TwoDigitYearMax value.

[Microsoft Access 2.0] TwoDigitYearMax=2029

The above settings in the WIN.INI file will change the date window for users on that machine to interpret two-digit year dates in the range 1930-2029.

Two-digit years from 00 to 29 are interpreted as 2000 to 2029.

Two-digit years from 30 to 99 are interpreted as 1930 to 1999.

 

2. Access 2.0 will store literal dates entered in property sheet values and in the query designer with 4-digit years.

3. Access 2.0 will interpret a date without a year as being in the current year of the system clock in years 2000 and later.

4. Access 2.0 will now display literal dates in modules with 4-digit years.

5. Access 2.0 will import text files using the 1930-2029 date window.

 

See Microsoft Knowledge Base Article Q75455 for more information on the Microsoft Access 2.0 Two-Digit Date Patch.

Common date usage errors:

  • Using the Short Date Input Mask will limit users' ability to enter dates outside of the 2-digit year short cut range (see the above section on 2-digit shortcuts).
  • Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
  • Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:


In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely. The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Access within your organization.

Functionality

Areas Affected

Testing Notes

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform look-ups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

 

Are there other known issues in the product that are date related?

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q109703

ACC: How to Find the Number of Days in a Month

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

 

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q125003

ACC: DateDiff() Ignores Start Date, Not End Date, with "ww"

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103996

ACC: Imported Microsoft Excel Date Fields Are Off by 4 Years

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

Q104973

ACC: DateDiff() Function Returns Incorrect Value


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2.0    (Danish)

Product Summary
Product: Access 2.0 Version: Category:Compliant*
Language: Danish OS: 16-Bit Win Release Date: 01 Apr 1994
Operational Range: 01 Jan 0100 - 31 Dec 9999
Prerequisites: Access 2.0 software update: Two-Digit Date Patch (see below)
Product Dependencies: Windows 3.1, or Windows NT 3.0 or greater
Clock Dependencies: System Clock
Last Updated: 01 Oct 1999
Product Details

The compliance of Access 2.0 has changed from Not Compliant to Compliant* with the release of the Access 2.0 software update. See below for details.

How the product handles dates:

Storage

Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information. Microsoft Access relies on the Jet Database engine to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting

Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.


Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. Custom formats can be created to display years as 4-digits.

Recommendations to meet compliance:

Obtain a software update from the following article in the Microsoft Knowledge Base:

Q231408 ACC2: Access 2.0 Two-Digit Date Patch Available on MSL

The Microsoft Access 2.0 Two-Digit Date Patch enhances the following functionality:

1. Access 2.0 will interpret 2-digit year dates based on a setting in the WIN.INI file. By default, Access 2.0 will interpret 2-digit year dates in the 1900-1999 range, which is the product’s behavior before the Two-Digit Date Patch is installed. If a user has the following section and settings in their WIN.INI file, Access 2.0 will use a date window based on a 100-year range, with the ending year being the value specified by the TwoDigitYearMax value.

[Microsoft Access 2.0] TwoDigitYearMax=2029

The above settings in the WIN.INI file will change the date window for users on that machine to interpret two-digit year dates in the range 1930-2029.

Two-digit years from 00 to 29 are interpreted as 2000 to 2029.

Two-digit years from 30 to 99 are interpreted as 1930 to 1999.

 

2. Access 2.0 will store literal dates entered in property sheet values and in the query designer with 4-digit years.

3. Access 2.0 will interpret a date without a year as being in the current year of the system clock in years 2000 and later.

4. Access 2.0 will now display literal dates in modules with 4-digit years.

5. Access 2.0 will import text files using the 1930-2029 date window.

 

See Microsoft Knowledge Base Article Q75455 for more information on the Microsoft Access 2.0 Two-Digit Date Patch.

Common date usage errors:

  • Using the Short Date Input Mask will limit users' ability to enter dates outside of the 2-digit year short cut range (see the above section on 2-digit shortcuts).
  • Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
  • Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:


In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely. The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Access within your organization.

Functionality

Areas Affected

Testing Notes

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform look-ups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

 

Are there other known issues in the product that are date related?

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q109703

ACC: How to Find the Number of Days in a Month

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

 

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q125003

ACC: DateDiff() Ignores Start Date, Not End Date, with "ww"

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103996

ACC: Imported Microsoft Excel Date Fields Are Off by 4 Years

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

Q104973

ACC: DateDiff() Function Returns Incorrect Value


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2.0    (Dutch)

Product Summary
Product: Access 2.0 Version: Category:Compliant*
Language: Dutch OS: 16-Bit Win Release Date: 01 Apr 1994
Operational Range: 01 Jan 0100 - 31 Dec 9999
Prerequisites: Access 2.0 software update: Two-Digit Date Patch (see below)
Product Dependencies: Windows 3.1, or Windows NT 3.0 or greater
Clock Dependencies: System Clock
Last Updated: 01 Oct 1999
Product Details

The compliance of Access 2.0 has changed from Not Compliant to Compliant* with the release of the Access 2.0 software update. See below for details.

How the product handles dates:

Storage

Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information. Microsoft Access relies on the Jet Database engine to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting

Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.


Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. Custom formats can be created to display years as 4-digits.

Recommendations to meet compliance:

Obtain a software update from the following article in the Microsoft Knowledge Base:

Q231408 ACC2: Access 2.0 Two-Digit Date Patch Available on MSL

The Microsoft Access 2.0 Two-Digit Date Patch enhances the following functionality:

1. Access 2.0 will interpret 2-digit year dates based on a setting in the WIN.INI file. By default, Access 2.0 will interpret 2-digit year dates in the 1900-1999 range, which is the product’s behavior before the Two-Digit Date Patch is installed. If a user has the following section and settings in their WIN.INI file, Access 2.0 will use a date window based on a 100-year range, with the ending year being the value specified by the TwoDigitYearMax value.

[Microsoft Access 2.0] TwoDigitYearMax=2029

The above settings in the WIN.INI file will change the date window for users on that machine to interpret two-digit year dates in the range 1930-2029.

Two-digit years from 00 to 29 are interpreted as 2000 to 2029.

Two-digit years from 30 to 99 are interpreted as 1930 to 1999.

 

2. Access 2.0 will store literal dates entered in property sheet values and in the query designer with 4-digit years.

3. Access 2.0 will interpret a date without a year as being in the current year of the system clock in years 2000 and later.

4. Access 2.0 will now display literal dates in modules with 4-digit years.

5. Access 2.0 will import text files using the 1930-2029 date window.

 

See Microsoft Knowledge Base Article Q75455 for more information on the Microsoft Access 2.0 Two-Digit Date Patch.

Common date usage errors:

  • Using the Short Date Input Mask will limit users' ability to enter dates outside of the 2-digit year short cut range (see the above section on 2-digit shortcuts).
  • Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
  • Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:


In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely. The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Access within your organization.

Functionality

Areas Affected

Testing Notes

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform look-ups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

 

Are there other known issues in the product that are date related?

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q109703

ACC: How to Find the Number of Days in a Month

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

 

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q125003

ACC: DateDiff() Ignores Start Date, Not End Date, with "ww"

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103996

ACC: Imported Microsoft Excel Date Fields Are Off by 4 Years

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

Q104973

ACC: DateDiff() Function Returns Incorrect Value


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2.0    (English)

Product Summary
Product: Access 2.0 Version: Category:Compliant*
Language: English OS: 16-Bit Win Release Date: 01 Apr 1994
Operational Range: 01 Jan 100 - 31 Dec 9999
Prerequisites: Access 2.0 software update: Two-Digit Date Patch (see below)
Product Dependencies: Windows 3.1, or Windows NT 3.0 or greater
Clock Dependencies: System Clock
Last Updated: 01 Oct 1999
Product Details

The compliance of Access 2.0 has changed from Not Compliant to Compliant* with the release of the Access 2.0 software update. See below for details.

How the product handles dates:

Storage

Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information. Microsoft Access relies on the Jet Database engine to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting

Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.


Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. Custom formats can be created to display years as 4-digits.

Recommendations to meet compliance:

Obtain a software update from the following article in the Microsoft Knowledge Base:

Q231408 ACC2: Access 2.0 Two-Digit Date Patch Available on MSL

The Microsoft Access 2.0 Two-Digit Date Patch enhances the following functionality:

1. Access 2.0 will interpret 2-digit year dates based on a setting in the WIN.INI file. By default, Access 2.0 will interpret 2-digit year dates in the 1900-1999 range, which is the product’s behavior before the Two-Digit Date Patch is installed. If a user has the following section and settings in their WIN.INI file, Access 2.0 will use a date window based on a 100-year range, with the ending year being the value specified by the TwoDigitYearMax value.

[Microsoft Access 2.0] TwoDigitYearMax=2029

The above settings in the WIN.INI file will change the date window for users on that machine to interpret two-digit year dates in the range 1930-2029.

Two-digit years from 00 to 29 are interpreted as 2000 to 2029.

Two-digit years from 30 to 99 are interpreted as 1930 to 1999.

 

2. Access 2.0 will store literal dates entered in property sheet values and in the query designer with 4-digit years.

3. Access 2.0 will interpret a date without a year as being in the current year of the system clock in years 2000 and later.

4. Access 2.0 will now display literal dates in modules with 4-digit years.

5. Access 2.0 will import text files using the 1930-2029 date window.

 

See Microsoft Knowledge Base Article Q75455 for more information on the Microsoft Access 2.0 Two-Digit Date Patch.

Common date usage errors:

  • Using the Short Date Input Mask will limit users' ability to enter dates outside of the 2-digit year short cut range (see the above section on 2-digit shortcuts).
  • Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
  • Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:


In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely. The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Access within your organization.

Functionality

Areas Affected

Testing Notes

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform look-ups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

 

Are there other known issues in the product that are date related?

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q109703

ACC: How to Find the Number of Days in a Month

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

 

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q125003

ACC: DateDiff() Ignores Start Date, Not End Date, with "ww"

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103996

ACC: Imported Microsoft Excel Date Fields Are Off by 4 Years

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

Q104973

ACC: DateDiff() Function Returns Incorrect Value


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2.0    (Finnish)

Product Summary
Product: Access 2.0 Version: Category:Compliant*
Language: Finnish OS: 16-Bit Win Release Date: 01 Apr 1994
Operational Range: 01 Jan 0100 - 31 Dec 9999
Prerequisites: Access 2.0 software update: Two-Digit Date Patch (see below)
Product Dependencies: Windows 3.1, or Windows NT 3.0 or greater
Clock Dependencies: System Clock
Last Updated: 01 Oct 1999
Product Details

The compliance of Access 2.0 has changed from Not Compliant to Compliant* with the release of the Access 2.0 software update. See below for details.

How the product handles dates:

Storage

Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information. Microsoft Access relies on the Jet Database engine to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting

Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.


Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. Custom formats can be created to display years as 4-digits.

Recommendations to meet compliance:

Obtain a software update from the following article in the Microsoft Knowledge Base:

Q231408 ACC2: Access 2.0 Two-Digit Date Patch Available on MSL

The Microsoft Access 2.0 Two-Digit Date Patch enhances the following functionality:

1. Access 2.0 will interpret 2-digit year dates based on a setting in the WIN.INI file. By default, Access 2.0 will interpret 2-digit year dates in the 1900-1999 range, which is the product’s behavior before the Two-Digit Date Patch is installed. If a user has the following section and settings in their WIN.INI file, Access 2.0 will use a date window based on a 100-year range, with the ending year being the value specified by the TwoDigitYearMax value.

[Microsoft Access 2.0] TwoDigitYearMax=2029

The above settings in the WIN.INI file will change the date window for users on that machine to interpret two-digit year dates in the range 1930-2029.

Two-digit years from 00 to 29 are interpreted as 2000 to 2029.

Two-digit years from 30 to 99 are interpreted as 1930 to 1999.

 

2. Access 2.0 will store literal dates entered in property sheet values and in the query designer with 4-digit years.

3. Access 2.0 will interpret a date without a year as being in the current year of the system clock in years 2000 and later.

4. Access 2.0 will now display literal dates in modules with 4-digit years.

5. Access 2.0 will import text files using the 1930-2029 date window.

 

See Microsoft Knowledge Base Article Q75455 for more information on the Microsoft Access 2.0 Two-Digit Date Patch.

Common date usage errors:

  • Using the Short Date Input Mask will limit users' ability to enter dates outside of the 2-digit year short cut range (see the above section on 2-digit shortcuts).
  • Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
  • Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:


In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely. The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Access within your organization.

Functionality

Areas Affected

Testing Notes

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform look-ups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

 

Are there other known issues in the product that are date related?

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q109703

ACC: How to Find the Number of Days in a Month

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

 

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q125003

ACC: DateDiff() Ignores Start Date, Not End Date, with "ww"

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103996

ACC: Imported Microsoft Excel Date Fields Are Off by 4 Years

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

Q104973

ACC: DateDiff() Function Returns Incorrect Value


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2.0    (French)

Product Summary
Product: Access 2.0 Version: Category:Compliant*
Language: French OS: 16-Bit Win Release Date: 01 Apr 1994
Operational Range: 01 Jan 0100 - 31 Dec 9999
Prerequisites: Access 2.0 software update: Two-Digit Date Patch (see below)
Product Dependencies: Windows 3.1, or Windows NT 3.0 or greater
Clock Dependencies: System Clock
Last Updated: 01 Oct 1999
Product Details

The compliance of Access 2.0 has changed from Not Compliant to Compliant* with the release of the Access 2.0 software update. See below for details.

How the product handles dates:

Storage

Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information. Microsoft Access relies on the Jet Database engine to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting

Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.


Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. Custom formats can be created to display years as 4-digits.

Recommendations to meet compliance:

Obtain a software update from the following article in the Microsoft Knowledge Base:

Q231408 ACC2: Access 2.0 Two-Digit Date Patch Available on MSL

The Microsoft Access 2.0 Two-Digit Date Patch enhances the following functionality:

1. Access 2.0 will interpret 2-digit year dates based on a setting in the WIN.INI file. By default, Access 2.0 will interpret 2-digit year dates in the 1900-1999 range, which is the product’s behavior before the Two-Digit Date Patch is installed. If a user has the following section and settings in their WIN.INI file, Access 2.0 will use a date window based on a 100-year range, with the ending year being the value specified by the TwoDigitYearMax value.

[Microsoft Access 2.0] TwoDigitYearMax=2029

The above settings in the WIN.INI file will change the date window for users on that machine to interpret two-digit year dates in the range 1930-2029.

Two-digit years from 00 to 29 are interpreted as 2000 to 2029.

Two-digit years from 30 to 99 are interpreted as 1930 to 1999.

 

2. Access 2.0 will store literal dates entered in property sheet values and in the query designer with 4-digit years.

3. Access 2.0 will interpret a date without a year as being in the current year of the system clock in years 2000 and later.

4. Access 2.0 will now display literal dates in modules with 4-digit years.

5. Access 2.0 will import text files using the 1930-2029 date window.

 

See Microsoft Knowledge Base Article Q75455 for more information on the Microsoft Access 2.0 Two-Digit Date Patch.

Common date usage errors:

  • Using the Short Date Input Mask will limit users' ability to enter dates outside of the 2-digit year short cut range (see the above section on 2-digit shortcuts).
  • Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
  • Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:


In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely. The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Access within your organization.

Functionality

Areas Affected

Testing Notes

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform look-ups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

 

Are there other known issues in the product that are date related?

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q109703

ACC: How to Find the Number of Days in a Month

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

 

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q125003

ACC: DateDiff() Ignores Start Date, Not End Date, with "ww"

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103996

ACC: Imported Microsoft Excel Date Fields Are Off by 4 Years

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

Q104973

ACC: DateDiff() Function Returns Incorrect Value


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2.0    (German)

Product Summary
Product: Access 2.0 Version: Category:Compliant*
Language: German OS: 16-Bit Win Release Date: 01 Apr 1994
Operational Range: 01 Jan 0100 - 31 Dec 9999
Prerequisites: Access 2.0 software update: Two-Digit Date Patch (see below)
Product Dependencies: Windows 3.1, or Windows NT 3.0 or greater
Clock Dependencies: System Clock
Last Updated: 01 Oct 1999
Product Details

The compliance of Access 2.0 has changed from Not Compliant to Compliant* with the release of the Access 2.0 software update. See below for details.

How the product handles dates:

Storage

Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information. Microsoft Access relies on the Jet Database engine to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting

Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.


Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. Custom formats can be created to display years as 4-digits.

Recommendations to meet compliance:

Obtain a software update from the following article in the Microsoft Knowledge Base:

Q231408 ACC2: Access 2.0 Two-Digit Date Patch Available on MSL

The Microsoft Access 2.0 Two-Digit Date Patch enhances the following functionality:

1. Access 2.0 will interpret 2-digit year dates based on a setting in the WIN.INI file. By default, Access 2.0 will interpret 2-digit year dates in the 1900-1999 range, which is the product’s behavior before the Two-Digit Date Patch is installed. If a user has the following section and settings in their WIN.INI file, Access 2.0 will use a date window based on a 100-year range, with the ending year being the value specified by the TwoDigitYearMax value.

[Microsoft Access 2.0] TwoDigitYearMax=2029

The above settings in the WIN.INI file will change the date window for users on that machine to interpret two-digit year dates in the range 1930-2029.

Two-digit years from 00 to 29 are interpreted as 2000 to 2029.

Two-digit years from 30 to 99 are interpreted as 1930 to 1999.

 

2. Access 2.0 will store literal dates entered in property sheet values and in the query designer with 4-digit years.

3. Access 2.0 will interpret a date without a year as being in the current year of the system clock in years 2000 and later.

4. Access 2.0 will now display literal dates in modules with 4-digit years.

5. Access 2.0 will import text files using the 1930-2029 date window.

 

See Microsoft Knowledge Base Article Q75455 for more information on the Microsoft Access 2.0 Two-Digit Date Patch.

Common date usage errors:

  • Using the Short Date Input Mask will limit users' ability to enter dates outside of the 2-digit year short cut range (see the above section on 2-digit shortcuts).
  • Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
  • Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:


In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely. The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Access within your organization.

Functionality

Areas Affected

Testing Notes

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform look-ups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

 

Are there other known issues in the product that are date related?

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q109703

ACC: How to Find the Number of Days in a Month

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

 

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q125003

ACC: DateDiff() Ignores Start Date, Not End Date, with "ww"

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103996

ACC: Imported Microsoft Excel Date Fields Are Off by 4 Years

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

Q104973

ACC: DateDiff() Function Returns Incorrect Value


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2.0    (Hebrew)

Product Summary
Product: Access 2.0 Version: Category:Not Compliant
Language: Hebrew OS: 16-Bit Win Release Date: 01 Apr 1994
Operational Range: 01 Jan 0100 - 31 Dec 9999
Prerequisites: none
Product Dependencies: Windows 3.1, or Windows NT 3.0 or greater
Clock Dependencies: System Clock
Last Updated: 22 Apr 1999
Product Details



Why is the product not compliant?
Microsoft Access 2.x interprets dates entered with an abbreviated year format to mean the 1900s. That is, the dates 1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999. As a result, you must enter all 4-digits of the year for Access 2 to interpret the date as being in the 2000s.

Recommendations:
Problems may be avoided by consistently enforcing a long date format (4-digit years) for entry and display. An upgrade to Microsoft Access 95 (version 7.0) or Microsoft Access 97 (version 8.0) is recommended for those for whom the above solution is not sufficient.

Description of how the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.
Microsoft Access relies on the Jet Database engine to store data. It uses shared VBA components to perform calculations on Date/Time data.
Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.
Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. Custom formats can be created to display years as 4-digits.


2-digit shortcut handling:
Microsoft Access 2.x interprets dates with an abbreviated year format in the following way.

1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999


Common date usage errors:

Using the Short Date Input Mask will limit your users' ability to enter dates outside of the 2-digit year short cut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.


Testing guidelines and recommendations:
In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely.
The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Access within your organization.

Functionality

Areas Affected

Testing Notes

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform look-ups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

 

Are there other known issues in the product that are date related?

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q109703

ACC: How to Find the Number of Days in a Month

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

 

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

 

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q125003

ACC: DateDiff() Ignores Start Date, Not End Date, with "ww"

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103996

ACC: Imported Microsoft Excel Date Fields Are Off by 4 Years

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

Q104973

ACC: DateDiff() Function Returns Incorrect Value

 

 



Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2.0    (Hungarian)

Product Summary
Product: Access 2.0 Version: Category:Compliant*
Language: Hungarian OS: 16-Bit Win Release Date: 01 Apr 1994
Operational Range: 01 Jan 0100 - 31 Dec 9999
Prerequisites: Access 2.0 software update: Two-Digit Date Patch (see below)
Product Dependencies: Windows 3.1, or Windows NT 3.0 or greater
Clock Dependencies: System Clock
Last Updated: 01 Oct 1999
Product Details

The compliance of Access 2.0 has changed from Not Compliant to Compliant* with the release of the Access 2.0 software update. See below for details.

How the product handles dates:

Storage

Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information. Microsoft Access relies on the Jet Database engine to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting

Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.


Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. Custom formats can be created to display years as 4-digits.

Recommendations to meet compliance:

Obtain a software update from the following article in the Microsoft Knowledge Base:

Q231408 ACC2: Access 2.0 Two-Digit Date Patch Available on MSL

The Microsoft Access 2.0 Two-Digit Date Patch enhances the following functionality:

1. Access 2.0 will interpret 2-digit year dates based on a setting in the WIN.INI file. By default, Access 2.0 will interpret 2-digit year dates in the 1900-1999 range, which is the product’s behavior before the Two-Digit Date Patch is installed. If a user has the following section and settings in their WIN.INI file, Access 2.0 will use a date window based on a 100-year range, with the ending year being the value specified by the TwoDigitYearMax value.

[Microsoft Access 2.0] TwoDigitYearMax=2029

The above settings in the WIN.INI file will change the date window for users on that machine to interpret two-digit year dates in the range 1930-2029.

Two-digit years from 00 to 29 are interpreted as 2000 to 2029.

Two-digit years from 30 to 99 are interpreted as 1930 to 1999.

 

2. Access 2.0 will store literal dates entered in property sheet values and in the query designer with 4-digit years.

3. Access 2.0 will interpret a date without a year as being in the current year of the system clock in years 2000 and later.

4. Access 2.0 will now display literal dates in modules with 4-digit years.

5. Access 2.0 will import text files using the 1930-2029 date window.

 

See Microsoft Knowledge Base Article Q75455 for more information on the Microsoft Access 2.0 Two-Digit Date Patch.

Common date usage errors:

  • Using the Short Date Input Mask will limit users' ability to enter dates outside of the 2-digit year short cut range (see the above section on 2-digit shortcuts).
  • Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
  • Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:


In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely. The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Access within your organization.

Functionality

Areas Affected

Testing Notes

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform look-ups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

 

Are there other known issues in the product that are date related?

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q109703

ACC: How to Find the Number of Days in a Month

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

 

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q125003

ACC: DateDiff() Ignores Start Date, Not End Date, with "ww"

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103996

ACC: Imported Microsoft Excel Date Fields Are Off by 4 Years

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

Q104973

ACC: DateDiff() Function Returns Incorrect Value


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2.0    (Italian)

Product Summary
Product: Access 2.0 Version: Category:Compliant*
Language: Italian OS: 16-Bit Win Release Date: 01 Apr 1994
Operational Range: 01 Jan 0100 - 31 Dec 9999
Prerequisites: Access 2.0 software update: Two-Digit Date Patch (see below)
Product Dependencies: Windows 3.1, or Windows NT 3.0 or greater
Clock Dependencies: System Clock
Last Updated: 01 Oct 1999
Product Details

The compliance of Access 2.0 has changed from Not Compliant to Compliant* with the release of the Access 2.0 software update. See below for details.

How the product handles dates:

Storage

Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information. Microsoft Access relies on the Jet Database engine to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting

Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.


Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. Custom formats can be created to display years as 4-digits.

Recommendations to meet compliance:

Obtain a software update from the following article in the Microsoft Knowledge Base:

Q231408 ACC2: Access 2.0 Two-Digit Date Patch Available on MSL

The Microsoft Access 2.0 Two-Digit Date Patch enhances the following functionality:

1. Access 2.0 will interpret 2-digit year dates based on a setting in the WIN.INI file. By default, Access 2.0 will interpret 2-digit year dates in the 1900-1999 range, which is the product’s behavior before the Two-Digit Date Patch is installed. If a user has the following section and settings in their WIN.INI file, Access 2.0 will use a date window based on a 100-year range, with the ending year being the value specified by the TwoDigitYearMax value.

[Microsoft Access 2.0] TwoDigitYearMax=2029

The above settings in the WIN.INI file will change the date window for users on that machine to interpret two-digit year dates in the range 1930-2029.

Two-digit years from 00 to 29 are interpreted as 2000 to 2029.

Two-digit years from 30 to 99 are interpreted as 1930 to 1999.

 

2. Access 2.0 will store literal dates entered in property sheet values and in the query designer with 4-digit years.

3. Access 2.0 will interpret a date without a year as being in the current year of the system clock in years 2000 and later.

4. Access 2.0 will now display literal dates in modules with 4-digit years.

5. Access 2.0 will import text files using the 1930-2029 date window.

 

See Microsoft Knowledge Base Article Q75455 for more information on the Microsoft Access 2.0 Two-Digit Date Patch.

Common date usage errors:

  • Using the Short Date Input Mask will limit users' ability to enter dates outside of the 2-digit year short cut range (see the above section on 2-digit shortcuts).
  • Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
  • Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:


In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely. The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Access within your organization.

Functionality

Areas Affected

Testing Notes

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform look-ups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

 

Are there other known issues in the product that are date related?

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q109703

ACC: How to Find the Number of Days in a Month

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

 

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q125003

ACC: DateDiff() Ignores Start Date, Not End Date, with "ww"

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103996

ACC: Imported Microsoft Excel Date Fields Are Off by 4 Years

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

Q104973

ACC: DateDiff() Function Returns Incorrect Value


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2.0    (Japanese)

Product Summary
Product: Access 2.0 Version: Category:Not Compliant
Language: Japanese OS: 16-Bit Win Release Date: 01 Apr 1994
Operational Range: 01 Jan 0100 - 31 Dec 9999
Prerequisites: none
Product Dependencies: Windows 3.1, or Windows NT 3.0 or greater
Clock Dependencies: System Clock
Last Updated: 22 Apr 1999
Product Details



Why is the product not compliant?
Microsoft Access 2.x interprets dates entered with an abbreviated year format to mean the 1900s. That is, the dates 1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999. As a result, you must enter all 4-digits of the year for Access 2 to interpret the date as being in the 2000s.

Recommendations:
Problems may be avoided by consistently enforcing a long date format (4-digit years) for entry and display. An upgrade to Microsoft Access 95 (version 7.0) or Microsoft Access 97 (version 8.0) is recommended for those for whom the above solution is not sufficient.

Description of how the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.
Microsoft Access relies on the Jet Database engine to store data. It uses shared VBA components to perform calculations on Date/Time data.
Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.
Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. Custom formats can be created to display years as 4-digits.


2-digit shortcut handling:
Microsoft Access 2.x interprets dates with an abbreviated year format in the following way.

1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999


Common date usage errors:

Using the Short Date Input Mask will limit your users' ability to enter dates outside of the 2-digit year short cut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.


Testing guidelines and recommendations:
In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely.
The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Access within your organization.

Functionality

Areas Affected

Testing Notes

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform look-ups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

 

Are there other known issues in the product that are date related?

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q109703

ACC: How to Find the Number of Days in a Month

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

 

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

 

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q125003

ACC: DateDiff() Ignores Start Date, Not End Date, with "ww"

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103996

ACC: Imported Microsoft Excel Date Fields Are Off by 4 Years

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

Q104973

ACC: DateDiff() Function Returns Incorrect Value

 

 



Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2.0    (Latin America)

Product Summary
Product: Access 2.0 Version: Category:Compliant*
Language: Latin America OS: 16-Bit Win Release Date: 01 Apr 1994
Operational Range: 01 Jan 0100 - 31 Dec 9999
Prerequisites: Access 2.0 software update: Two-Digit Date Patch (see below)
Product Dependencies: Windows 3.1, or Windows NT 3.0 or greater
Clock Dependencies: System Clock
Last Updated: 01 Oct 1999
Product Details

The compliance of Access 2.0 has changed from Not Compliant to Compliant* with the release of the Access 2.0 software update. See below for details.

How the product handles dates:

Storage

Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information. Microsoft Access relies on the Jet Database engine to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting

Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.


Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. Custom formats can be created to display years as 4-digits.

Recommendations to meet compliance:

Obtain a software update from the following article in the Microsoft Knowledge Base:

Q231408 ACC2: Access 2.0 Two-Digit Date Patch Available on MSL

The Microsoft Access 2.0 Two-Digit Date Patch enhances the following functionality:

1. Access 2.0 will interpret 2-digit year dates based on a setting in the WIN.INI file. By default, Access 2.0 will interpret 2-digit year dates in the 1900-1999 range, which is the product’s behavior before the Two-Digit Date Patch is installed. If a user has the following section and settings in their WIN.INI file, Access 2.0 will use a date window based on a 100-year range, with the ending year being the value specified by the TwoDigitYearMax value.

[Microsoft Access 2.0] TwoDigitYearMax=2029

The above settings in the WIN.INI file will change the date window for users on that machine to interpret two-digit year dates in the range 1930-2029.

Two-digit years from 00 to 29 are interpreted as 2000 to 2029.

Two-digit years from 30 to 99 are interpreted as 1930 to 1999.

 

2. Access 2.0 will store literal dates entered in property sheet values and in the query designer with 4-digit years.

3. Access 2.0 will interpret a date without a year as being in the current year of the system clock in years 2000 and later.

4. Access 2.0 will now display literal dates in modules with 4-digit years.

5. Access 2.0 will import text files using the 1930-2029 date window.

 

See Microsoft Knowledge Base Article Q75455 for more information on the Microsoft Access 2.0 Two-Digit Date Patch.

Common date usage errors:

  • Using the Short Date Input Mask will limit users' ability to enter dates outside of the 2-digit year short cut range (see the above section on 2-digit shortcuts).
  • Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
  • Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:


In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely. The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Access within your organization.

Functionality

Areas Affected

Testing Notes

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform look-ups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

 

Are there other known issues in the product that are date related?

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q109703

ACC: How to Find the Number of Days in a Month

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

 

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q125003

ACC: DateDiff() Ignores Start Date, Not End Date, with "ww"

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103996

ACC: Imported Microsoft Excel Date Fields Are Off by 4 Years

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

Q104973

ACC: DateDiff() Function Returns Incorrect Value


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2.0    (Norwegian)

Product Summary
Product: Access 2.0 Version: Category:Compliant*
Language: Norwegian OS: 16-Bit Win Release Date: 01 Apr 1994
Operational Range: 01 Jan 0100 - 31 Dec 9999
Prerequisites: Access 2.0 software update: Two-Digit Date Patch (see below)
Product Dependencies: Windows 3.1, or Windows NT 3.0 or greater
Clock Dependencies: System Clock
Last Updated: 01 Oct 1999
Product Details

The compliance of Access 2.0 has changed from Not Compliant to Compliant* with the release of the Access 2.0 software update. See below for details.

How the product handles dates:

Storage

Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information. Microsoft Access relies on the Jet Database engine to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting

Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.


Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. Custom formats can be created to display years as 4-digits.

Recommendations to meet compliance:

Obtain a software update from the following article in the Microsoft Knowledge Base:

Q231408 ACC2: Access 2.0 Two-Digit Date Patch Available on MSL

The Microsoft Access 2.0 Two-Digit Date Patch enhances the following functionality:

1. Access 2.0 will interpret 2-digit year dates based on a setting in the WIN.INI file. By default, Access 2.0 will interpret 2-digit year dates in the 1900-1999 range, which is the product’s behavior before the Two-Digit Date Patch is installed. If a user has the following section and settings in their WIN.INI file, Access 2.0 will use a date window based on a 100-year range, with the ending year being the value specified by the TwoDigitYearMax value.

[Microsoft Access 2.0] TwoDigitYearMax=2029

The above settings in the WIN.INI file will change the date window for users on that machine to interpret two-digit year dates in the range 1930-2029.

Two-digit years from 00 to 29 are interpreted as 2000 to 2029.

Two-digit years from 30 to 99 are interpreted as 1930 to 1999.

 

2. Access 2.0 will store literal dates entered in property sheet values and in the query designer with 4-digit years.

3. Access 2.0 will interpret a date without a year as being in the current year of the system clock in years 2000 and later.

4. Access 2.0 will now display literal dates in modules with 4-digit years.

5. Access 2.0 will import text files using the 1930-2029 date window.

 

See Microsoft Knowledge Base Article Q75455 for more information on the Microsoft Access 2.0 Two-Digit Date Patch.

Common date usage errors:

  • Using the Short Date Input Mask will limit users' ability to enter dates outside of the 2-digit year short cut range (see the above section on 2-digit shortcuts).
  • Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
  • Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:


In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely. The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Access within your organization.

Functionality

Areas Affected

Testing Notes

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform look-ups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

 

Are there other known issues in the product that are date related?

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q109703

ACC: How to Find the Number of Days in a Month

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

 

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q125003

ACC: DateDiff() Ignores Start Date, Not End Date, with "ww"

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103996

ACC: Imported Microsoft Excel Date Fields Are Off by 4 Years

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

Q104973

ACC: DateDiff() Function Returns Incorrect Value


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2.0    (Polish)

Product Summary
Product: Access 2.0 Version: Category:Compliant*
Language: Polish OS: 16-Bit Win Release Date: 01 Apr 1994
Operational Range: 01 Jan 0100 - 31 Dec 9999
Prerequisites: Access 2.0 software update: Two-Digit Date Patch (see below)
Product Dependencies: Windows 3.1, or Windows NT 3.0 or greater
Clock Dependencies: System Clock
Last Updated: 01 Oct 1999
Product Details

The compliance of Access 2.0 has changed from Not Compliant to Compliant* with the release of the Access 2.0 software update. See below for details.

How the product handles dates:

Storage

Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information. Microsoft Access relies on the Jet Database engine to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting

Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.


Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. Custom formats can be created to display years as 4-digits.

Recommendations to meet compliance:

Obtain a software update from the following article in the Microsoft Knowledge Base:

Q231408 ACC2: Access 2.0 Two-Digit Date Patch Available on MSL

The Microsoft Access 2.0 Two-Digit Date Patch enhances the following functionality:

1. Access 2.0 will interpret 2-digit year dates based on a setting in the WIN.INI file. By default, Access 2.0 will interpret 2-digit year dates in the 1900-1999 range, which is the product’s behavior before the Two-Digit Date Patch is installed. If a user has the following section and settings in their WIN.INI file, Access 2.0 will use a date window based on a 100-year range, with the ending year being the value specified by the TwoDigitYearMax value.

[Microsoft Access 2.0] TwoDigitYearMax=2029

The above settings in the WIN.INI file will change the date window for users on that machine to interpret two-digit year dates in the range 1930-2029.

Two-digit years from 00 to 29 are interpreted as 2000 to 2029.

Two-digit years from 30 to 99 are interpreted as 1930 to 1999.

 

2. Access 2.0 will store literal dates entered in property sheet values and in the query designer with 4-digit years.

3. Access 2.0 will interpret a date without a year as being in the current year of the system clock in years 2000 and later.

4. Access 2.0 will now display literal dates in modules with 4-digit years.

5. Access 2.0 will import text files using the 1930-2029 date window.

 

See Microsoft Knowledge Base Article Q75455 for more information on the Microsoft Access 2.0 Two-Digit Date Patch.

Common date usage errors:

  • Using the Short Date Input Mask will limit users' ability to enter dates outside of the 2-digit year short cut range (see the above section on 2-digit shortcuts).
  • Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
  • Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:


In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely. The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Access within your organization.

Functionality

Areas Affected

Testing Notes

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform look-ups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

 

Are there other known issues in the product that are date related?

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q109703

ACC: How to Find the Number of Days in a Month

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

 

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q125003

ACC: DateDiff() Ignores Start Date, Not End Date, with "ww"

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103996

ACC: Imported Microsoft Excel Date Fields Are Off by 4 Years

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

Q104973

ACC: DateDiff() Function Returns Incorrect Value


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2.0    (Portuguese (Brazil))

Product Summary
Product: Access 2.0 Version: Category:Compliant*
Language: Portuguese (Brazil) OS: 16-Bit Win Release Date: 01 Apr 1994
Operational Range: 01 Jan 0100 - 31 Dec 9999
Prerequisites: Access 2.0 software update: Two-Digit Date Patch (see below)
Product Dependencies: Windows 3.1, or Windows NT 3.0 or greater
Clock Dependencies: System Clock
Last Updated: 01 Oct 1999
Product Details

The compliance of Access 2.0 has changed from Not Compliant to Compliant* with the release of the Access 2.0 software update. See below for details.

How the product handles dates:

Storage

Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information. Microsoft Access relies on the Jet Database engine to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting

Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.


Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. Custom formats can be created to display years as 4-digits.

Recommendations to meet compliance:

Obtain a software update from the following article in the Microsoft Knowledge Base:

Q231408 ACC2: Access 2.0 Two-Digit Date Patch Available on MSL

The Microsoft Access 2.0 Two-Digit Date Patch enhances the following functionality:

1. Access 2.0 will interpret 2-digit year dates based on a setting in the WIN.INI file. By default, Access 2.0 will interpret 2-digit year dates in the 1900-1999 range, which is the product’s behavior before the Two-Digit Date Patch is installed. If a user has the following section and settings in their WIN.INI file, Access 2.0 will use a date window based on a 100-year range, with the ending year being the value specified by the TwoDigitYearMax value.

[Microsoft Access 2.0] TwoDigitYearMax=2029

The above settings in the WIN.INI file will change the date window for users on that machine to interpret two-digit year dates in the range 1930-2029.

Two-digit years from 00 to 29 are interpreted as 2000 to 2029.

Two-digit years from 30 to 99 are interpreted as 1930 to 1999.

 

2. Access 2.0 will store literal dates entered in property sheet values and in the query designer with 4-digit years.

3. Access 2.0 will interpret a date without a year as being in the current year of the system clock in years 2000 and later.

4. Access 2.0 will now display literal dates in modules with 4-digit years.

5. Access 2.0 will import text files using the 1930-2029 date window.

 

See Microsoft Knowledge Base Article Q75455 for more information on the Microsoft Access 2.0 Two-Digit Date Patch.

Common date usage errors:

  • Using the Short Date Input Mask will limit users' ability to enter dates outside of the 2-digit year short cut range (see the above section on 2-digit shortcuts).
  • Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
  • Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:


In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely. The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Access within your organization.

Functionality

Areas Affected

Testing Notes

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform look-ups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

 

Are there other known issues in the product that are date related?

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q109703

ACC: How to Find the Number of Days in a Month

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

 

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q125003

ACC: DateDiff() Ignores Start Date, Not End Date, with "ww"

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103996

ACC: Imported Microsoft Excel Date Fields Are Off by 4 Years

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

Q104973

ACC: DateDiff() Function Returns Incorrect Value


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2.0    (Portuguese)

Product Summary
Product: Access 2.0 Version: Category:Compliant*
Language: Portuguese OS: 16-Bit Win Release Date: 01 Apr 1994
Operational Range: 01 Jan 0100 - 31 Dec 9999
Prerequisites: Access 2.0 software update: Two-Digit Date Patch (see below)
Product Dependencies: Windows 3.1, or Windows NT 3.0 or greater
Clock Dependencies: System Clock
Last Updated: 01 Oct 1999
Product Details

The compliance of Access 2.0 has changed from Not Compliant to Compliant* with the release of the Access 2.0 software update. See below for details.

How the product handles dates:

Storage

Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information. Microsoft Access relies on the Jet Database engine to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting

Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.


Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. Custom formats can be created to display years as 4-digits.

Recommendations to meet compliance:

Obtain a software update from the following article in the Microsoft Knowledge Base:

Q231408 ACC2: Access 2.0 Two-Digit Date Patch Available on MSL

The Microsoft Access 2.0 Two-Digit Date Patch enhances the following functionality:

1. Access 2.0 will interpret 2-digit year dates based on a setting in the WIN.INI file. By default, Access 2.0 will interpret 2-digit year dates in the 1900-1999 range, which is the product’s behavior before the Two-Digit Date Patch is installed. If a user has the following section and settings in their WIN.INI file, Access 2.0 will use a date window based on a 100-year range, with the ending year being the value specified by the TwoDigitYearMax value.

[Microsoft Access 2.0] TwoDigitYearMax=2029

The above settings in the WIN.INI file will change the date window for users on that machine to interpret two-digit year dates in the range 1930-2029.

Two-digit years from 00 to 29 are interpreted as 2000 to 2029.

Two-digit years from 30 to 99 are interpreted as 1930 to 1999.

 

2. Access 2.0 will store literal dates entered in property sheet values and in the query designer with 4-digit years.

3. Access 2.0 will interpret a date without a year as being in the current year of the system clock in years 2000 and later.

4. Access 2.0 will now display literal dates in modules with 4-digit years.

5. Access 2.0 will import text files using the 1930-2029 date window.

 

See Microsoft Knowledge Base Article Q75455 for more information on the Microsoft Access 2.0 Two-Digit Date Patch.

Common date usage errors:

  • Using the Short Date Input Mask will limit users' ability to enter dates outside of the 2-digit year short cut range (see the above section on 2-digit shortcuts).
  • Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
  • Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:


In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely. The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Access within your organization.

Functionality

Areas Affected

Testing Notes

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform look-ups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

 

Are there other known issues in the product that are date related?

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q109703

ACC: How to Find the Number of Days in a Month

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

 

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q125003

ACC: DateDiff() Ignores Start Date, Not End Date, with "ww"

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103996

ACC: Imported Microsoft Excel Date Fields Are Off by 4 Years

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

Q104973

ACC: DateDiff() Function Returns Incorrect Value


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2.0    (Russian)

Product Summary
Product: Access 2.0 Version: Category:Compliant*
Language: Russian OS: 16-Bit Win Release Date: 01 Apr 1994
Operational Range: 01 Jan 0100 - 31 Dec 9999
Prerequisites: Access 2.0 software update: Two-Digit Date Patch (see below)
Product Dependencies: Windows 3.1, or Windows NT 3.0 or greater
Clock Dependencies: System Clock
Last Updated: 01 Oct 1999
Product Details

The compliance of Access 2.0 has changed from Not Compliant to Compliant* with the release of the Access 2.0 software update. See below for details.

How the product handles dates:

Storage

Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information. Microsoft Access relies on the Jet Database engine to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting

Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.


Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. Custom formats can be created to display years as 4-digits.

Recommendations to meet compliance:

Obtain a software update from the following article in the Microsoft Knowledge Base:

Q231408 ACC2: Access 2.0 Two-Digit Date Patch Available on MSL

The Microsoft Access 2.0 Two-Digit Date Patch enhances the following functionality:

1. Access 2.0 will interpret 2-digit year dates based on a setting in the WIN.INI file. By default, Access 2.0 will interpret 2-digit year dates in the 1900-1999 range, which is the product’s behavior before the Two-Digit Date Patch is installed. If a user has the following section and settings in their WIN.INI file, Access 2.0 will use a date window based on a 100-year range, with the ending year being the value specified by the TwoDigitYearMax value.

[Microsoft Access 2.0] TwoDigitYearMax=2029

The above settings in the WIN.INI file will change the date window for users on that machine to interpret two-digit year dates in the range 1930-2029.

Two-digit years from 00 to 29 are interpreted as 2000 to 2029.

Two-digit years from 30 to 99 are interpreted as 1930 to 1999.

 

2. Access 2.0 will store literal dates entered in property sheet values and in the query designer with 4-digit years.

3. Access 2.0 will interpret a date without a year as being in the current year of the system clock in years 2000 and later.

4. Access 2.0 will now display literal dates in modules with 4-digit years.

5. Access 2.0 will import text files using the 1930-2029 date window.

 

See Microsoft Knowledge Base Article Q75455 for more information on the Microsoft Access 2.0 Two-Digit Date Patch.

Common date usage errors:

  • Using the Short Date Input Mask will limit users' ability to enter dates outside of the 2-digit year short cut range (see the above section on 2-digit shortcuts).
  • Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
  • Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:


In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely. The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Access within your organization.

Functionality

Areas Affected

Testing Notes

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform look-ups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

 

Are there other known issues in the product that are date related?

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q109703

ACC: How to Find the Number of Days in a Month

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

 

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q125003

ACC: DateDiff() Ignores Start Date, Not End Date, with "ww"

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103996

ACC: Imported Microsoft Excel Date Fields Are Off by 4 Years

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

Q104973

ACC: DateDiff() Function Returns Incorrect Value


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2.0    (Spanish)

Product Summary
Product: Access 2.0 Version: Category:Compliant*
Language: Spanish OS: 16-Bit Win Release Date: 01 Apr 1994
Operational Range: 01 Jan 0100 - 31 Dec 9999
Prerequisites: Access 2.0 software update: Two-Digit Date Patch (see below)
Product Dependencies: Windows 3.1, or Windows NT 3.0 or greater
Clock Dependencies: System Clock
Last Updated: 01 Oct 1999
Product Details

The compliance of Access 2.0 has changed from Not Compliant to Compliant* with the release of the Access 2.0 software update. See below for details.

How the product handles dates:

Storage

Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information. Microsoft Access relies on the Jet Database engine to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting

Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.


Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. Custom formats can be created to display years as 4-digits.

Recommendations to meet compliance:

Obtain a software update from the following article in the Microsoft Knowledge Base:

Q231408 ACC2: Access 2.0 Two-Digit Date Patch Available on MSL

The Microsoft Access 2.0 Two-Digit Date Patch enhances the following functionality:

1. Access 2.0 will interpret 2-digit year dates based on a setting in the WIN.INI file. By default, Access 2.0 will interpret 2-digit year dates in the 1900-1999 range, which is the product’s behavior before the Two-Digit Date Patch is installed. If a user has the following section and settings in their WIN.INI file, Access 2.0 will use a date window based on a 100-year range, with the ending year being the value specified by the TwoDigitYearMax value.

[Microsoft Access 2.0] TwoDigitYearMax=2029

The above settings in the WIN.INI file will change the date window for users on that machine to interpret two-digit year dates in the range 1930-2029.

Two-digit years from 00 to 29 are interpreted as 2000 to 2029.

Two-digit years from 30 to 99 are interpreted as 1930 to 1999.

 

2. Access 2.0 will store literal dates entered in property sheet values and in the query designer with 4-digit years.

3. Access 2.0 will interpret a date without a year as being in the current year of the system clock in years 2000 and later.

4. Access 2.0 will now display literal dates in modules with 4-digit years.

5. Access 2.0 will import text files using the 1930-2029 date window.

 

See Microsoft Knowledge Base Article Q75455 for more information on the Microsoft Access 2.0 Two-Digit Date Patch.

Common date usage errors:

  • Using the Short Date Input Mask will limit users' ability to enter dates outside of the 2-digit year short cut range (see the above section on 2-digit shortcuts).
  • Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
  • Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:


In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely. The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Access within your organization.

Functionality

Areas Affected

Testing Notes

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform look-ups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

 

Are there other known issues in the product that are date related?

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q109703

ACC: How to Find the Number of Days in a Month

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

 

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q125003

ACC: DateDiff() Ignores Start Date, Not End Date, with "ww"

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103996

ACC: Imported Microsoft Excel Date Fields Are Off by 4 Years

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

Q104973

ACC: DateDiff() Function Returns Incorrect Value


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2.0    (Swedish)

Product Summary
Product: Access 2.0 Version: Category:Compliant*
Language: Swedish OS: 16-Bit Win Release Date: 01 Apr 1994
Operational Range: 01 Jan 0100 - 31 Dec 9999
Prerequisites: Access 2.0 software update: Two-Digit Date Patch (see below)
Product Dependencies: Windows 3.1, or Windows NT 3.0 or greater
Clock Dependencies: System Clock
Last Updated: 01 Oct 1999
Product Details

The compliance of Access 2.0 has changed from Not Compliant to Compliant* with the release of the Access 2.0 software update. See below for details.

How the product handles dates:

Storage

Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information. Microsoft Access relies on the Jet Database engine to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting

Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.


Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. Custom formats can be created to display years as 4-digits.

Recommendations to meet compliance:

Obtain a software update from the following article in the Microsoft Knowledge Base:

Q231408 ACC2: Access 2.0 Two-Digit Date Patch Available on MSL

The Microsoft Access 2.0 Two-Digit Date Patch enhances the following functionality:

1. Access 2.0 will interpret 2-digit year dates based on a setting in the WIN.INI file. By default, Access 2.0 will interpret 2-digit year dates in the 1900-1999 range, which is the product’s behavior before the Two-Digit Date Patch is installed. If a user has the following section and settings in their WIN.INI file, Access 2.0 will use a date window based on a 100-year range, with the ending year being the value specified by the TwoDigitYearMax value.

[Microsoft Access 2.0] TwoDigitYearMax=2029

The above settings in the WIN.INI file will change the date window for users on that machine to interpret two-digit year dates in the range 1930-2029.

Two-digit years from 00 to 29 are interpreted as 2000 to 2029.

Two-digit years from 30 to 99 are interpreted as 1930 to 1999.

 

2. Access 2.0 will store literal dates entered in property sheet values and in the query designer with 4-digit years.

3. Access 2.0 will interpret a date without a year as being in the current year of the system clock in years 2000 and later.

4. Access 2.0 will now display literal dates in modules with 4-digit years.

5. Access 2.0 will import text files using the 1930-2029 date window.

 

See Microsoft Knowledge Base Article Q75455 for more information on the Microsoft Access 2.0 Two-Digit Date Patch.

Common date usage errors:

  • Using the Short Date Input Mask will limit users' ability to enter dates outside of the 2-digit year short cut range (see the above section on 2-digit shortcuts).
  • Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
  • Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:


In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely. The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Access within your organization.

Functionality

Areas Affected

Testing Notes

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform look-ups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

 

Are there other known issues in the product that are date related?

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q109703

ACC: How to Find the Number of Days in a Month

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

 

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q125003

ACC: DateDiff() Ignores Start Date, Not End Date, with "ww"

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103996

ACC: Imported Microsoft Excel Date Fields Are Off by 4 Years

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

Q104973

ACC: DateDiff() Function Returns Incorrect Value


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2.0    (Thai)

Product Summary
Product: Access 2.0 Version: Category:Not Compliant
Language: Thai OS: 16-Bit Win Release Date: 15 Apr 1995
Operational Range: 01 Jan 0100 - 31 Dec 9999
Prerequisites: none
Product Dependencies: Thai Windows 3.1, or Thai Win NT 4.0 or greater
Clock Dependencies: System Clock
Last Updated: 22 Apr 1999
Product Details



Why is the product not compliant?
Microsoft Access 2.x interprets dates entered with an abbreviated year format to mean the 1900s. That is, the dates 1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999. As a result, you must enter all 4-digits of the year for Access 2 to interpret the date as being in the 2000s.

Recommendations:
Problems may be avoided by consistently enforcing a long date format (4-digit years) for entry and display. An upgrade to Microsoft Access 95 (version 7.0) or Microsoft Access 97 (version 8.0) is recommended for those for whom the above solution is not sufficient.

Description of how the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.
Microsoft Access relies on the Jet Database engine to store data. It uses shared VBA components to perform calculations on Date/Time data.
Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.
Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. Custom formats can be created to display years as 4-digits.


2-digit shortcut handling:
Microsoft Access 2.x interprets dates with an abbreviated year format in the following way.

1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999


Common date usage errors:

Using the Short Date Input Mask will limit your users' ability to enter dates outside of the 2-digit year short cut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.


Testing guidelines and recommendations:
In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely.
The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Access within your organization.

Functionality

Areas Affected

Testing Notes

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform look-ups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

 

Are there other known issues in the product that are date related?

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q109703

ACC: How to Find the Number of Days in a Month

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

 

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

 

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q125003

ACC: DateDiff() Ignores Start Date, Not End Date, with "ww"

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103996

ACC: Imported Microsoft Excel Date Fields Are Off by 4 Years

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

Q104973

ACC: DateDiff() Function Returns Incorrect Value

 

 



Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (Arabic)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: Arabic OS: 32-Bit Win Release Date: 25 Mar 1999
Operational Range: 01 Jan 0200 - 31 Dec 9999
Prerequisites: none
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System Clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (Chinese - Simplified)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: Chinese - Simplified OS: 32-Bit Win Release Date: 25 Mar 1999
Operational Range: 01 Jan 0200 - 31 Dec 9999
Prerequisites: none
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System Clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (Chinese - Traditional)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: Chinese - Traditional OS: 32-Bit Win Release Date: 25 Mar 1999
Operational Range: 01 Jan 0200 - 31 Dec 9999
Prerequisites: none
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System Clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (Croatian)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: Croatian OS: 32-Bit Win Release Date: 25 Mar 1999
Operational Range: 01 Jan 0200 - 31 Dec 9999
Prerequisites: none
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System Clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (Czech)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: Czech OS: 32-Bit Win Release Date: 25 Mar 1999
Operational Range: 01 Jan 0200 - 31 Dec 9999
Prerequisites: none
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System Clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (Danish)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: Danish OS: 32-Bit Win Release Date: 25 Mar 1999
Operational Range: 01 Jan 0200 - 31 Dec 9999
Prerequisites: none
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System Clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (Dutch)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: Dutch OS: 32-Bit Win Release Date: 25 Mar 1999
Operational Range: 01 Jan 0200 - 31 Dec 9999
Prerequisites: none
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System Clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (English)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: English OS: 32-Bit Win Release Date: 25 Mar 1999
Operational Range: 01 Jan 0200 - 31 Dec 9999
Prerequisites: None
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (English Australian)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: English Australian OS: 32-Bit Win Release Date: 25 Mar 1999
Operational Range: 01 Jan 0200 - 31 Dec 9999
Prerequisites: none
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System Clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (English British)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: English British OS: 32-Bit Win Release Date: 25 Mar 1999
Operational Range: 01 Jan 0200 - 31 Dec 9999
Prerequisites: none
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System Clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in general date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (Estonian)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: Estonian OS: 32-Bit Win Release Date: 25 Mar 1999
Operational Range: 01 Jan 0200 - 31 Dec 9999
Prerequisites: none
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System Clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (Finnish)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: Finnish OS: 32-Bit Win Release Date: 25 Mar 1999
Operational Range: 01 Jan 0200 - 31 Dec 9999
Prerequisites: none
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System Clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (French)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: French OS: 32-Bit Win Release Date: 25 Mar 1999
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: None
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (German)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: German OS: 32-Bit Win Release Date: 25 Mar 1999
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: None
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (Greek)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: Greek OS: 32-Bit Win Release Date: 25 Mar 1999
Operational Range: 01 Jan 0200 - 31 Dec 9999
Prerequisites: none
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System Clock
Last Updated: 01 Oct 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in general date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (Hebrew)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: Hebrew OS: 32-Bit Win Release Date: 25 Mar 1999
Operational Range: 01 Jan 0200 - 31 Dec 9999
Prerequisites: none
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System Clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (Hindu)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: Hindu OS: 32-Bit Win Release Date: 25 Mar 1999
Operational Range: 01 Jan 0200 - 31 Dec 9999
Prerequisites: none
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System Clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (Hungarian)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: Hungarian OS: 32-Bit Win Release Date: 25 Mar 1999
Operational Range: 01 Jan 0200 - 31 Dec 9999
Prerequisites: none
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System Clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (Italian)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: Italian OS: 32-Bit Win Release Date: 25 Mar 1999
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: None
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System Clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (Japanese)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: Japanese OS: 32-Bit Win Release Date: 09 Jul 1999
Operational Range: 01 Jan 0200 - 31 Dec 9999
Prerequisites: None
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (Korean)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: Korean OS: 32-Bit Win Release Date: 25 Mar 1999
Operational Range: 01 Jan 0200 - 31 Dec 9999
Prerequisites: none
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System Clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (Latvian)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: Latvian OS: 32-Bit Win Release Date: 25 Mar 1999
Operational Range: 01 Jan 0200 - 31 Dec 9999
Prerequisites: none
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System Clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (Lithuanian)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: Lithuanian OS: 32-Bit Win Release Date: 25 Mar 1999
Operational Range: 01 Jan 0200 - 31 Dec 9999
Prerequisites: none
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System Clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (Norwegian)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: Norwegian OS: 32-Bit Win Release Date: 25 Mar 1999
Operational Range: 01 Jan 0200 - 31 Dec 9999
Prerequisites: None
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System Clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (Pan-Chinese)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: Pan-Chinese OS: 32-Bit Win Release Date: 25 Mar 1999
Operational Range: 01 Jan 0200 - 31 Dec 9999
Prerequisites: none
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System Clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (Polish)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: Polish OS: 32-Bit Win Release Date: 25 Mar 1999
Operational Range: 01 Jan 0200 - 31 Dec 9999
Prerequisites: none
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System Clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (Portuguese (Brazil))

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: Portuguese (Brazil) OS: 32-Bit Win Release Date: 25 Mar 1999
Operational Range: 01 Jan 0200 - 31 Dec 9999
Prerequisites: none
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System Clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (Portuguese)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: Portuguese OS: 32-Bit Win Release Date: 25 Mar 1999
Operational Range: 01 Jan 0200 - 31 Dec 9999
Prerequisites: none
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System Clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (Romanian)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: Romanian OS: 32-Bit Win Release Date: 25 Mar 1999
Operational Range: 01 Jan 0200 - 31 Dec 9999
Prerequisites: none
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System Clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (Russian)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: Russian OS: 32-Bit Win Release Date: 25 Mar 1999
Operational Range: 01 Jan 0200 - 31 Dec 9999
Prerequisites: none
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System Clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (Serbian)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: Serbian OS: 32-Bit Win Release Date: N/A
Operational Range: 01 Jan 0200 - 31 Dec 9999
Prerequisites: None
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (Slovenian)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: Slovenian OS: 32-Bit Win Release Date: 25 Mar 1999
Operational Range: 01 Jan 0200 - 31 Dec 9999
Prerequisites: none
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System Clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (Spanish)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: Spanish OS: 32-Bit Win Release Date: 25 Mar 1999
Operational Range: 01 Jan 0200 - 31 Dec 9999
Prerequisites: none
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System Clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (Swedish)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: Swedish OS: 32-Bit Win Release Date: 25 Mar 1999
Operational Range: 01 Jan 0200 - 31 Dec 9999
Prerequisites: none
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System Clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (Thai)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: Thai OS: 32-Bit Win Release Date: 25 Mar 1999
Operational Range: 01 Jan 0200 - 31 Dec 9999
Prerequisites: None
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 2000  9.0   (Turkish)

Product Summary
Product: Access 2000 Version: 9.0 Category:Compliant
Language: Turkish OS: 32-Bit Win Release Date: 25 Mar 1999
Operational Range: 01 Jan 0200 - 31 Dec 9999
Prerequisites: none
Product Dependencies: Windows 95, Windows 98, Windows NT 4.0 (no specific Service Pack is required, however Service Pack 4 is recommended), Windows 2000, OLE Automation Technology, SQL Server, Internet Explorer, Microsoft Data Access Components (MDAC)
Clock Dependencies: System Clock
Last Updated: 28 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers' Year 2000 efforts, Microsoft intends to maintain Access 2000 version 9.0 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

How the product handles dates:

  • Storage. Microsoft Access 2000 stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for more information.

Access 2000 relies on the Jet database to store data. It uses shared Visual Basic for Applications (VBA) components to perform calculations on Date/Time data.

  • Formatting. If an input mask is not used, which is the default behavior, dates can be entered in 2- or 4-digit formats. Dates can be input in predefined and custom input formats via an input mask. Input masks enforce date entry in a particular format. Input mask predefined formats include a short date format, which forces users to enter dates in a 2-digit format. A custom input mask can be created to limit date entry to only 4-digit years. Access does not require an input mask to enter dates.

Dates can be displayed in predefined and custom formats by using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of short date and short time, as specified in the Regional Settings in Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4 digits.

By using the following procedure, date fields and controls can be forced to display 4-digit years—which may help to ensure that the century of a particular date is correct.

  1. On the Tools menu, click Options, and then click the General tab.
  2. Under Use four-digit year formatting, do one of the following:

To force display of 4-digit years at the database level (in the current Access database or Access project), select the This database check box.

To force display of 4-digit years at the program level (in all Access databases and Access projects), select the All databases check box.

Selecting one of these check boxes changes only how dates are displayed—not the data itself. These options override Format property settings for individual fields and controls. The All databases option can also be set by using the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]

"Four-Digit Year Formatting All Databases"=DWORD:00000001

Two-digit shortcut handling:

Dates are interpreted by using the automation libraries. For more information, see The Automation Libraries and the Year 2000 white paper.

Common date usage errors:

  • Input Masks. Using the short date input mask will limit the ability of users to enter dates outside of the 2-digit-year shortcut range.
  • Date/Time Data Type. Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
  • Date Display. Avoid the use of the short date format (for example, m/d/yy). Use a 4-digit-year format to display dates such as the long date format, the short date format in conjunction with the Regional Settings in Control Panel, or a custom format to display the 4 digits of the year (for example, m/d/yyyy).
  • Literal Dates in Queries. Use a 4-digit year when entering date criteria into the SQL view of the Query designer. Date criteria entered into the Query designer grid will be expanded to 4 digits.
  • Exporting Text. Text export method, including the use of VBA TransferText, should be set for export of 4-digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because side effects with non-compliant products cannot be predicted.

The following areas can be looked at to verify that dates are being properly used. The following table can be used to guide testing of Access 2000 within your organization.

Functionality

Areas affected

Testing notes

TransferText, Import/Export

Tables, queries, forms, reports, macros, modules

Import and export of text files is available using the menus, the Transfer Text macro action, and in Visual Basic for Applications (VBA) code using the TransferText method.

Date data in 2- and 4-digit-year formats can be imported and exported using an Import/Export specification. By default, dates are exported in a 2-digit-year format. The 4-digit-year format can be selected when creating an Import/Export specification.

Indexes

Tables

Date and time values can be indexed and can require unique values.

Format

Tables, queries, forms, reports, modules

Provides formatting of Date/Time data in tables, queries, form, reports, and VBA code. Exists as a property for Table, Query, Form, and Report fields. Also implemented as an intrinsic function, Format().

Formats based on Regional Settings in Control Panel include long date, short date, and long time.

Access intrinsic formats include general date, medium date, medium time, and short time.

Custom formats include any combination of month, day, year, and time.

Input Mask

Tables, queries, forms, reports, modules

Limits user data entry to specific values. Values for input mask are derived from combinations of token characters, such as 0, 9, and X, similar to custom format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field.

Wizard-defined input masks related to dates include short date, medium date, short time, medium time, and long time.

Validation Rule

Tables, queries, forms

Verifies data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are Sum, Avg, Min, Max, Count, StDev, Var, First, and Last.

Domain Functions

Queries, forms, reports, modules

Performs lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, reports

Forms and reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, reports, modules

Value property allows user to get and set dates on the calendar. The year is always displayed as 4 digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, and Minute.

Day(), Month(), Year(), WeekDay()

Queries, forms, reports, modules

Parses Date/Time data.

Date(), Now()

Queries, forms, reports, modules

Returns date, and date and time

DateAdd(), DateDiff()

Queries, forms, reports, modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by Data Access Objects (DAO).

CDate()

Queries, forms, reports, modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

More information:

Click the links below to Knowledge Base articles for more information about date-related issues.

  • How to articles

HOWTO: Prepare Visual Basic Applications for the Year 2000, Q162718

ACC: How to Convert Julian Days to Dates in Access and Back, Q162745

ACC: How to Find the Number of Days in a Month, Q109703

HOWTO: Change the Short Date Format from Visual Basic, Q168793

ACC: How to Determine If a Date Falls on a Weekend or Holiday, Q149127

ACC: How to Format Dates As U.S. Regardless of Regional Settings, Q149095

ACC: How to Convert Short Time Format to Different Formats, Q141536

ACC: How to Get the Fiscal Year/Month of a Particular Date, Q132101

ACC: How to Display Only the Last Two Digits of Any Year, Q95907

ACC: Converting Julian Dates with Visual or Access Basic Code, Q92816

ACC: Functions for Calculating and Displaying Date/Time Values, Q88657

ACC: Function to Get Date of Monday Prior to Current Day. Q103138

ACC: Two Functions to Calculate Age in Months and Years, Q100136

  • Informational articles

ACC: Storing, Calculating, and Comparing Date/Time Data, Q130514

ACC: Date/Time Data Type Provides Current Year Automatically, Q98802

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM, Q169599

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY, Q155669

ACC: How Windows Regional Settings Affect Microsoft Access, Q142009

  • Other date issues

ADT/ODE: Calendar Control Cannot Format Individual Dates, Q114832

ACC: Operation Stops When Editing Attached SQL Tables, Q96897

ACC: Can't Paste Append Using Input Mask Based on Short Date, Q160575

ACC: Importing Text File with Dates in DDMMMYY Format (95/97), Q159323

ACC: Conversion Errors Importing Dates with Different Formats, Q142184

Incorrect Date Value Added to Properties Custom Tab, Q130580

ACC: Using Format() and Month() Returns Incorrect Month, Q106290

ACC: Exporting Date Fields to Text Includes Time Format, Q103174

ACC: Query w/Time Criteria Returns No Records from MS SQL Server, Q173097

Access 2000 uses a number of Microsoft Office 2000 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 2000, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 2000 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 95  7.0   (Arabic)

Product Summary
Product: Access 95 Version: 7.0 Category:Compliant*#
Language: Arabic OS: 32-Bit Win Release Date: 01 Sep 1995
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: OLEAUT32.DLL ver. 2.20.4054 or later (see below to download)
Product Dependencies: Windows 95
Clock Dependencies: System clock, OLEAUT32.DLL
Last Updated: 29 Sep 1999
Product Details


Description of how the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.

Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which forces users to enter dates in a 2-digit format. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.

Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry.Parsing on date entry. OLEAUT32. 2.20.4054 or higher is required in order for Access 95 to correctly recognize 2-digit date shortcuts as falling within a window between 1930 and 2029. Without that file update, Access assumes that all shortcut dates fall in the current century.



Two-digit shortcut handling:

Microsoft Access 95's interpretation of dates depends on the version OLEAUT32.DLL in the system folder.

If your OLEAUT32.DLL has a version of 2.20.4054 or greater, Access 95 interprets dates entered with an abbreviated year format, to mean the 21st century. Office97 and Windows NT 4.0 install a version of OLEAUT32.DLL that follows these rules.

For more information, see The Automation Libraries and the Year 2000 whitepaper"

      

1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999


If your version of OLEAUT32.DLL is less than 2.20.4054, Access 95 interprets dates entered with an abbreviated year format to mean the current century in the following way. Windows 95 installs a version of OLEAUT32.DLL that follows these rules.

If the current century is the 20th:
1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999
If the current century is the 21st:
1/1/00 through 12/31/99 are interpreted as 1/1/2000 through 12/31/2099

Why is it Compliant#?

Dates with two digit years in imported text files are interpreted as falling in the twentieth century.  Users can avoid this behavior by importing the files as text rather than as date type, then setting the field type to date.  Dates at that point will be interpreted using Access's own date window of 1930-2029.  Additionally, database synchronization may fail when spanning the century boundary.  


To determine the version of OLEAUT32.DLL you have:

a) Click on the Start button. Go to Find > Files or Folders
b) Enter Oleaut in Named Section; Choose [C:] to look in
c) Highlight Oleaut 32.dll
d) Click on File > Properties
e) Select the Version tab:

      

If File version is 2.20.4054 or higher the below download is not required.

If File version is less than 2.20.4054, the below download is necessary for Access to follow the 2-digit date window of 1930-2029.

Download OLEAUT32.DLL version 2.20.4118
Common date usage errors:

      

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.


Testing guidelines and recommendations:
In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely.

The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Microsoft Access within your organization.

Functionality

  

Areas Affected

  

Testing Notes

TransferText, Import/Export

  

Tables, Queries, Forms, Reports, Macros, Modules

  

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

     

  

     

Indexes

  

Tables

  

Date and time values can be indexed, and can require unique values.

     

  

     

Format

  

Tables, Queries, Forms, Reports, Modules

  

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

     

  

     

Input Mask

  

Tables, Queries, Forms, Reports, Modules

  

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

     

  

     

Validation Rule

  

Tables, Queries, Forms

  

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

     

  

     

Aggregate Queries

  

Queries

  

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

     

  

     

Domain Functions

  

Queries, Forms, Reports, Modules

  

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

     

  

     

Insert Date & Time

  

Forms, Reports

  

Inserts a calculated field that uses the Format function on the value of Date().

     

  

     

Charting

  

Forms, Reports

  

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

     

  

     

Calendar Control

  

Forms, Reports, Modules

  

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

     

  

     

Report Grouping

  

Reports

  

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

     

  

     

Day(), Month(), Year(), WeekDay()

  

Queries, Forms, Reports, Modules

  

Parses Date/Time data.

  

 

Date(), Now()

  

Queries, Forms, Reports, Modules

  

Returns Date, and Date and Time

   

     

  

         

DateAdd(), DateDiff()

  

Queries, Forms, Reports, Modules

  

Performs calculations on Date/Time data.

   

     

  

         

LastUpdated, DateCreated properties

  

All database objects

  

Date/Time stamp of last update and object creation, provided by DAO.

   

 

  

         

CDate()

  

Queries, Forms, Reports, Modules

  

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

   

Is there any place to find more information on date related issues for this product?

     

  

How To Articles

  

 

Q162718

  

HOWTO: Prepare Visual Basic Applications for the Year 2000

  

 

Q162745

  

ACC: How to Convert Between Julian Days and Dates

  

 

Q109703

  

ACC: How to Find the Number of Days in a Month

  

 

Q168793

  

HOWTO: Change the Short Date Format from Visual Basic

  

 

Q149127

  

ACC: How to Determine If a Date Falls on a Weekend or Holiday

  

 

Q149095

  

ACC: How to Format Dates Regardless of Regional Settings

  

 

Q141536

  

ACC: How to Convert Short Time Format to Different Formats

  

 

Q132101

  

ACC: How to Get the Fiscal Year/Month of a Particular Date

  

 

Q95907

  

ACC: How to Display Only the Last Two Digits of Any Year

  

 

Q92816

  

ACC: Converting Julian Dates with Visual or Access Basic Code

  

 

Q88657

  

ACC: Functions for Calculating and Displaying Date/Time Values

  

 

Q103138

  

ACC: Function to Get Date of Monday Prior to Current Day

  

 

Q100136

  

ACC: Two Functions to Calculate Age in Months and Years

  

 

     

  

Informational Articles

  

 

Q130514

  

ACC: Storing, Calculating, and Comparing Date/Time Data

  

 

Q98802

  

ACC: Date/Time Data Type Provides Current Year Automatically

  

 

Q155669

  

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

  

 

Q142009

  

ACC: How Windows Regional Settings Affect Microsoft Access

  

 

     

  

Other Date Issues

  

 

Q169156

  

ACC95: DateDiff, DateAdd, or DatePart Causes IPF in VBA232.DLL

  

 

Q149945

  

ACC95: Parameter Query Excludes Ending Date

  

 

Q114832

  

ADT/ODE: Calendar Control Cannot Format Individual Dates

  

 

Q96897

  

ACC: Operation Stops When Editing Attached SQL Tables

  

 

Q160575

  

ACC: Can't Paste Append Using Input Mask Based on Short Date

  

 

Q159323

  

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

  

 

Q142184

  

ACC: Conversion Errors Importing Dates with Different Formats

  

 

Q130580

  

Incorrect Date Value Added to Properties Custom Tab

  

 

Q106290

  

ACC: Using Format() and Month() Returns Incorrect Month

  

 

Q103174

  

ACC: Exporting Date Fields to Text Includes Time Format

  

 

Q173097

  

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

   

Q104973

  

ACC: DateDiff() Function Returns Incorrect Value

   

Access 95 uses a number of Microsoft Office 95 shared files for the implementation of dialogs and toolbars, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 95, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 95 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 95  7.0   (Chinese - Simplified)

Product Summary
Product: Access 95 Version: 7.0 Category:Compliant*
Language: Chinese - Simplified OS: 32-Bit Win Release Date: 01 Sep 1995
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: OLEAUT32.DLL ver. 2.20.4054 or later and Office 95 Year 2000 Software Update
Product Dependencies: Windows 95, or Windows NT 3.51 or greater
Clock Dependencies: System clock, OLEAUT32.DLL
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 95 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

Prerequisites

An Office 95 Year 2000 update is now available that corrects all known Year 2000 related issues in the applications used in Office 95. For more detailed information and to download this update please go to http://officeupdate.microsoft.com/china/downloadDetails/sr2off97.htm.


Description of how the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.

Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which forces users to enter dates in a 2-digit format. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.

Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry.Parsing on date entry. OLEAUT32. 2.20.4054 or higher is required in order for Access 95 to correctly recognize 2-digit date shortcuts as falling within a window between 1930 and 2029. Without that file update, Access assumes that all shortcut dates fall in the current century.



Two-digit shortcut handling:

Microsoft Access 95's interpretation of dates depends on the version OLEAUT32.DLL in the system folder.

If your OLEAUT32.DLL has a version of 2.20.4054 or greater, Access 95 interprets dates entered with an abbreviated year format, to mean the 21st century. Office97 and Windows NT 4.0 install a version of OLEAUT32.DLL that follows these rules.

For more information, see The Automation Libraries and the Year 2000 whitepaper"

      

1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999


If your version of OLEAUT32.DLL is less than 2.20.4054, Access 95 interprets dates entered with an abbreviated year format to mean the current century in the following way. Windows 95 installs a version of OLEAUT32.DLL that follows these rules.

If the current century is the 20th:
1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999
If the current century is the 21st:
1/1/00 through 12/31/99 are interpreted as 1/1/2000 through 12/31/2099

Why is it Compliant#?

Dates with two digit years in imported text files are interpreted as falling in the twentieth century.  Users can avoid this behavior by importing the files as text rather than as date type, then setting the field type to date.  Dates at that point will be interpreted using Access's own date window of 1930-2029.  Additionally, database synchronization may fail when spanning the century boundary.  


To determine the version of OLEAUT32.DLL you have:

a) Click on the Start button. Go to Find > Files or Folders
b) Enter Oleaut in Named Section; Choose [C:] to look in
c) Highlight Oleaut 32.dll
d) Click on File > Properties
e) Select the Version tab:

      

If File version is 2.20.4054 or higher the below download is not required.

If File version is less than 2.20.4054, the below download is necessary for Access to follow the 2-digit date window of 1930-2029.

Download OLEAUT32.DLL version 2.20.4118
Common date usage errors:

      

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.


Testing guidelines and recommendations:
In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely.

The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Microsoft Access within your organization.

Functionality

  

Areas Affected

  

Testing Notes

TransferText, Import/Export

  

Tables, Queries, Forms, Reports, Macros, Modules

  

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

     

  

     

Indexes

  

Tables

  

Date and time values can be indexed, and can require unique values.

     

  

     

Format

  

Tables, Queries, Forms, Reports, Modules

  

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

     

  

     

Input Mask

  

Tables, Queries, Forms, Reports, Modules

  

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

     

  

     

Validation Rule

  

Tables, Queries, Forms

  

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

     

  

     

Aggregate Queries

  

Queries

  

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

     

  

     

Domain Functions

  

Queries, Forms, Reports, Modules

  

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

     

  

     

Insert Date & Time

  

Forms, Reports

  

Inserts a calculated field that uses the Format function on the value of Date().

     

  

     

Charting

  

Forms, Reports

  

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

     

  

     

Calendar Control

  

Forms, Reports, Modules

  

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

     

  

     

Report Grouping

  

Reports

  

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

     

  

     

Day(), Month(), Year(), WeekDay()

  

Queries, Forms, Reports, Modules

  

Parses Date/Time data.

  

 

Date(), Now()

  

Queries, Forms, Reports, Modules

  

Returns Date, and Date and Time

   

     

  

         

DateAdd(), DateDiff()

  

Queries, Forms, Reports, Modules

  

Performs calculations on Date/Time data.

   

     

  

         

LastUpdated, DateCreated properties

  

All database objects

  

Date/Time stamp of last update and object creation, provided by DAO.

   

 

  

         

CDate()

  

Queries, Forms, Reports, Modules

  

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

   

Is there any place to find more information on date related issues for this product?

     

  

How To Articles

  

 

Q162718

  

HOWTO: Prepare Visual Basic Applications for the Year 2000

  

 

Q162745

  

ACC: How to Convert Between Julian Days and Dates

  

 

Q109703

  

ACC: How to Find the Number of Days in a Month

  

 

Q168793

  

HOWTO: Change the Short Date Format from Visual Basic

  

 

Q149127

  

ACC: How to Determine If a Date Falls on a Weekend or Holiday

  

 

Q149095

  

ACC: How to Format Dates Regardless of Regional Settings

  

 

Q141536

  

ACC: How to Convert Short Time Format to Different Formats

  

 

Q132101

  

ACC: How to Get the Fiscal Year/Month of a Particular Date

  

 

Q95907

  

ACC: How to Display Only the Last Two Digits of Any Year

  

 

Q92816

  

ACC: Converting Julian Dates with Visual or Access Basic Code

  

 

Q88657

  

ACC: Functions for Calculating and Displaying Date/Time Values

  

 

Q103138

  

ACC: Function to Get Date of Monday Prior to Current Day

  

 

Q100136

  

ACC: Two Functions to Calculate Age in Months and Years

  

 

     

  

Informational Articles

  

 

Q130514

  

ACC: Storing, Calculating, and Comparing Date/Time Data

  

 

Q98802

  

ACC: Date/Time Data Type Provides Current Year Automatically

  

 

Q155669

  

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

  

 

Q142009

  

ACC: How Windows Regional Settings Affect Microsoft Access

  

 

     

  

Other Date Issues

  

 

Q169156

  

ACC95: DateDiff, DateAdd, or DatePart Causes IPF in VBA232.DLL

  

 

Q149945

  

ACC95: Parameter Query Excludes Ending Date

  

 

Q114832

  

ADT/ODE: Calendar Control Cannot Format Individual Dates

  

 

Q96897

  

ACC: Operation Stops When Editing Attached SQL Tables

  

 

Q160575

  

ACC: Can't Paste Append Using Input Mask Based on Short Date

  

 

Q159323

  

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

  

 

Q142184

  

ACC: Conversion Errors Importing Dates with Different Formats

  

 

Q130580

  

Incorrect Date Value Added to Properties Custom Tab

  

 

Q106290

  

ACC: Using Format() and Month() Returns Incorrect Month

  

 

Q103174

  

ACC: Exporting Date Fields to Text Includes Time Format

  

 

Q173097

  

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

   

Q104973

  

ACC: DateDiff() Function Returns Incorrect Value

   

Access 95 uses a number of Microsoft Office 95 shared files for the implementation of dialogs and toolbars, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 95, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 95 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 95  7.0   (Chinese - Traditional)

Product Summary
Product: Access 95 Version: 7.0 Category:Compliant*
Language: Chinese - Traditional OS: 32-Bit Win Release Date: 01 Sep 1995
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: OLEAUT32.DLL ver. 2.20.4054 or later and Office 95 Year 2000 Software Update
Product Dependencies: Windows 95, or Windows NT 3.51 or greater
Clock Dependencies: System clock, OLEAUT32.DLL
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 95 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

An Office 95 Year 2000 update is now available. For more detailed information and to download this update please go to

http://www.microsoft.com/taiwan/download/office.htm.

Description of how the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.

Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which forces users to enter dates in a 2-digit format. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.

Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry.Parsing on date entry. OLEAUT32. 2.20.4054 or higher is required in order for Access 95 to correctly recognize 2-digit date shortcuts as falling within a window between 1930 and 2029. Without that file update, Access assumes that all shortcut dates fall in the current century.

Two-digit shortcut handling:

Microsoft Access 95's interpretation of dates depends on the version OLEAUT32.DLL in the system folder.

If your OLEAUT32.DLL has a version of 2.20.4054 or greater, Access 95 interprets dates entered with an abbreviated year format, to mean the 21st century. Office97 and Windows NT 4.0 install a version of OLEAUT32.DLL that follows these rules.

For more information, see The Automation Libraries and the Year 2000 whitepaper"

      

1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999

If your version of OLEAUT32.DLL is less than 2.20.4054, Access 95 interprets dates entered with an abbreviated year format to mean the current century in the following way. Windows 95 installs a version of OLEAUT32.DLL that follows these rules.

If the current century is the 20th:
1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999
If the current century is the 21st:
1/1/00 through 12/31/99 are interpreted as 1/1/2000 through 12/31/2099

What are the acceptable deviations?

Dates with two digit years in imported text files are interpreted as falling in the twentieth century.  Users can avoid this behavior by importing the files as text rather than as date type, then setting the field type to date.  Dates at that point will be interpreted using Access's own date window of 1930-2029.  Additionally, database synchronization may fail when spanning the century boundary. This behavior is correction in the Office 95 Year 2000 Software Update.

To determine the version of OLEAUT32.DLL you have:

a) Click on the Start button. Go to Find > Files or Folders
b) Enter Oleaut in Named Section; Choose [C:] to look in
c) Highlight Oleaut 32.dll
d) Click on File > Properties
e) Select the Version tab:

      

If File version is 2.20.4054 or higher the below download is not required.

If File version is less than 2.20.4054, the below download is necessary for Access to follow the 2-digit date window of 1930-2029.

Download OLEAUT32.DLL version 2.20.4118
Common date usage errors:

      

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.


Testing guidelines and recommendations:
In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely.

The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Microsoft Access within your organization.

Functionality

  

Areas Affected

  

Testing Notes

TransferText, Import/Export

  

Tables, Queries, Forms, Reports, Macros, Modules

  

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

     

  

     

Indexes

  

Tables

  

Date and time values can be indexed, and can require unique values.

     

  

     

Format

  

Tables, Queries, Forms, Reports, Modules

  

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

     

  

     

Input Mask

  

Tables, Queries, Forms, Reports, Modules

  

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

     

  

     

Validation Rule

  

Tables, Queries, Forms

  

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

     

  

     

Aggregate Queries

  

Queries

  

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

     

  

     

Domain Functions

  

Queries, Forms, Reports, Modules

  

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

     

  

     

Insert Date & Time

  

Forms, Reports

  

Inserts a calculated field that uses the Format function on the value of Date().

     

  

     

Charting

  

Forms, Reports

  

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

     

  

     

Calendar Control

  

Forms, Reports, Modules

  

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

     

  

     

Report Grouping

  

Reports

  

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

     

  

     

Day(), Month(), Year(), WeekDay()

  

Queries, Forms, Reports, Modules

  

Parses Date/Time data.

  

 

Date(), Now()

  

Queries, Forms, Reports, Modules

  

Returns Date, and Date and Time

   

     

  

         

DateAdd(), DateDiff()

  

Queries, Forms, Reports, Modules

  

Performs calculations on Date/Time data.

   

     

  

         

LastUpdated, DateCreated properties

  

All database objects

  

Date/Time stamp of last update and object creation, provided by DAO.

   

 

  

         

CDate()

  

Queries, Forms, Reports, Modules

  

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

   

Is there any place to find more information on date related issues for this product?

     

  

How To Articles

  

 

Q162718

  

HOWTO: Prepare Visual Basic Applications for the Year 2000

  

 

Q162745

  

ACC: How to Convert Between Julian Days and Dates

  

 

Q109703

  

ACC: How to Find the Number of Days in a Month

  

 

Q168793

  

HOWTO: Change the Short Date Format from Visual Basic

  

 

Q149127

  

ACC: How to Determine If a Date Falls on a Weekend or Holiday

  

 

Q149095

  

ACC: How to Format Dates Regardless of Regional Settings

  

 

Q141536

  

ACC: How to Convert Short Time Format to Different Formats

  

 

Q132101

  

ACC: How to Get the Fiscal Year/Month of a Particular Date

  

 

Q95907

  

ACC: How to Display Only the Last Two Digits of Any Year

  

 

Q92816

  

ACC: Converting Julian Dates with Visual or Access Basic Code

  

 

Q88657

  

ACC: Functions for Calculating and Displaying Date/Time Values

  

 

Q103138

  

ACC: Function to Get Date of Monday Prior to Current Day

  

 

Q100136

  

ACC: Two Functions to Calculate Age in Months and Years

  

 

     

  

Informational Articles

  

 

Q130514

  

ACC: Storing, Calculating, and Comparing Date/Time Data

  

 

Q98802

  

ACC: Date/Time Data Type Provides Current Year Automatically

  

 

Q155669

  

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

  

 

Q142009

  

ACC: How Windows Regional Settings Affect Microsoft Access

  

 

     

  

Other Date Issues

  

 

Q169156

  

ACC95: DateDiff, DateAdd, or DatePart Causes IPF in VBA232.DLL

  

 

Q149945

  

ACC95: Parameter Query Excludes Ending Date

  

 

Q114832

  

ADT/ODE: Calendar Control Cannot Format Individual Dates

  

 

Q96897

  

ACC: Operation Stops When Editing Attached SQL Tables

  

 

Q160575

  

ACC: Can't Paste Append Using Input Mask Based on Short Date

  

 

Q159323

  

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

  

 

Q142184

  

ACC: Conversion Errors Importing Dates with Different Formats

  

 

Q130580

  

Incorrect Date Value Added to Properties Custom Tab

  

 

Q106290

  

ACC: Using Format() and Month() Returns Incorrect Month

  

 

Q103174

  

ACC: Exporting Date Fields to Text Includes Time Format

  

 

Q173097

  

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

   

Q104973

  

ACC: DateDiff() Function Returns Incorrect Value

   

Access 95 uses a number of Microsoft Office 95 shared files for the implementation of dialogs and toolbars, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 95, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 95 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 95  7.0   (Czech)

Product Summary
Product: Access 95 Version: 7.0 Category:Compliant*
Language: Czech OS: 32-Bit Win Release Date: 01 Sep 1995
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: OLEAUT32.DLL ver. 2.20.4054 or later and Office 95 Year 2000 Software Update
Product Dependencies: Windows 95 or Windows NT 3.51 or greater
Clock Dependencies: System clock, OLEAUT32.DLL
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 95 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

Prerequisite

An Office 95 Year 2000 update is now available that corrects all known Year 2000 related issues in the applications used in Office 95. For more detailed information and to download this update please go to http://officeupdate.microsoft.com/Articles/o95y2kinternational.htm.

Description of how the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.

Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which forces users to enter dates in a 2-digit format. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.

Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry.Parsing on date entry. OLEAUT32. 2.20.4054 or higher is required in order for Access 95 to correctly recognize 2-digit date shortcuts as falling within a window between 1930 and 2029. Without that file update, Access assumes that all shortcut dates fall in the current century.

Two-digit shortcut handling:

Microsoft Access 95's interpretation of dates depends on the version OLEAUT32.DLL in the system folder.

If your OLEAUT32.DLL has a version of 2.20.4054 or greater, Access 95 interprets dates entered with an abbreviated year format, to mean the 21st century. Office97 and Windows NT 4.0 install a version of OLEAUT32.DLL that follows these rules.

For more information, see The Automation Libraries and the Year 2000 white paper"

      

1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999


If your version of OLEAUT32.DLL is less than 2.20.4054, Access 95 interprets dates entered with an abbreviated year format to mean the current century in the following way. Windows 95 installs a version of OLEAUT32.DLL that follows these rules.

If the current century is the 20th:
1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999
If the current century is the 21st:
1/1/00 through 12/31/99 are interpreted as 1/1/2000 through 12/31/2099

What are the acceptable deviations?:

Dates with two digit years in imported text files are interpreted as falling in the twentieth century.  Users can avoid this behavior by importing the files as text rather than as date type, then setting the field type to date.  Dates at that point will be interpreted using Access's own date window of 1930-2029.  Additionally, database synchronization may fail when spanning the century boundary. This behavior is correction in the Office 95 Year 2000 Software Update.


To determine the version of OLEAUT32.DLL you have:

a) Click on the Start button. Go to Find > Files or Folders
b) Enter Oleaut in Named Section; Choose [C:] to look in
c) Highlight Oleaut 32.dll
d) Click on File > Properties
e) Select the Version tab:

      

If File version is 2.20.4054 or higher the below download is not required.

If File version is less than 2.20.4054, the below download is necessary for Access to follow the 2-digit date window of 1930-2029.

Download OLEAUT32.DLL version 2.20.4118

Common date usage errors:

      

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:
In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely.

The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Microsoft Access within your organization.

Functionality

  

Areas Affected

  

Testing Notes

TransferText, Import/Export

  

Tables, Queries, Forms, Reports, Macros, Modules

  

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

     

  

     

Indexes

  

Tables

  

Date and time values can be indexed, and can require unique values.

     

  

     

Format

  

Tables, Queries, Forms, Reports, Modules

  

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

     

  

     

Input Mask

  

Tables, Queries, Forms, Reports, Modules

  

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

     

  

     

Validation Rule

  

Tables, Queries, Forms

  

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

     

  

     

Aggregate Queries

  

Queries

  

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

     

  

     

Domain Functions

  

Queries, Forms, Reports, Modules

  

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

     

  

     

Insert Date & Time

  

Forms, Reports

  

Inserts a calculated field that uses the Format function on the value of Date().

     

  

     

Charting

  

Forms, Reports

  

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

     

  

     

Calendar Control

  

Forms, Reports, Modules

  

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

     

  

     

Report Grouping

  

Reports

  

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

     

  

     

Day(), Month(), Year(), WeekDay()

  

Queries, Forms, Reports, Modules

  

Parses Date/Time data.

  

 

Date(), Now()

  

Queries, Forms, Reports, Modules

  

Returns Date, and Date and Time

   

     

  

         

DateAdd(), DateDiff()

  

Queries, Forms, Reports, Modules

  

Performs calculations on Date/Time data.

   

     

  

         

LastUpdated, DateCreated properties

  

All database objects

  

Date/Time stamp of last update and object creation, provided by DAO.

   

 

  

         

CDate()

  

Queries, Forms, Reports, Modules

  

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

   

Is there any place to find more information on date related issues for this product?

     

  

How To Articles

  

 

Q162718

  

HOWTO: Prepare Visual Basic Applications for the Year 2000

  

 

Q162745

  

ACC: How to Convert Between Julian Days and Dates

  

 

Q109703

  

ACC: How to Find the Number of Days in a Month

  

 

Q168793

  

HOWTO: Change the Short Date Format from Visual Basic

  

 

Q149127

  

ACC: How to Determine If a Date Falls on a Weekend or Holiday

  

 

Q149095

  

ACC: How to Format Dates Regardless of Regional Settings

  

 

Q141536

  

ACC: How to Convert Short Time Format to Different Formats

  

 

Q132101

  

ACC: How to Get the Fiscal Year/Month of a Particular Date

  

 

Q95907

  

ACC: How to Display Only the Last Two Digits of Any Year

  

 

Q92816

  

ACC: Converting Julian Dates with Visual or Access Basic Code

  

 

Q88657

  

ACC: Functions for Calculating and Displaying Date/Time Values

  

 

Q103138

  

ACC: Function to Get Date of Monday Prior to Current Day

  

 

Q100136

  

ACC: Two Functions to Calculate Age in Months and Years

  

 

     

  

Informational Articles

  

 

Q130514

  

ACC: Storing, Calculating, and Comparing Date/Time Data

  

 

Q98802

  

ACC: Date/Time Data Type Provides Current Year Automatically

  

 

Q155669

  

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

  

 

Q142009

  

ACC: How Windows Regional Settings Affect Microsoft Access

  

 

     

  

Other Date Issues

  

 

Q169156

  

ACC95: DateDiff, DateAdd, or DatePart Causes IPF in VBA232.DLL

  

 

Q149945

  

ACC95: Parameter Query Excludes Ending Date

  

 

Q114832

  

ADT/ODE: Calendar Control Cannot Format Individual Dates

  

 

Q96897

  

ACC: Operation Stops When Editing Attached SQL Tables

  

 

Q160575

  

ACC: Can't Paste Append Using Input Mask Based on Short Date

  

 

Q159323

  

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

  

 

Q142184

  

ACC: Conversion Errors Importing Dates with Different Formats

  

 

Q130580

  

Incorrect Date Value Added to Properties Custom Tab

  

 

Q106290

  

ACC: Using Format() and Month() Returns Incorrect Month

  

 

Q103174

  

ACC: Exporting Date Fields to Text Includes Time Format

  

 

Q173097

  

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

   

Q104973

  

ACC: DateDiff() Function Returns Incorrect Value

   

Access 95 uses a number of Microsoft Office 95 shared files for the implementation of dialogs and toolbars, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 95, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 95 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 95  7.0   (Danish)

Product Summary
Product: Access 95 Version: 7.0 Category:Compliant*
Language: Danish OS: 32-Bit Win Release Date: 01 Sep 1995
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: OLEAUT32.DLL ver. 2.20.4054 or later and Office 95 Year 2000 Software Update
Product Dependencies: Windows 95 or Windows NT 3.51 or greater
Clock Dependencies: System clock, OLEAUT32.DLL
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 95 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

Prerequisite

An Office 95 Year 2000 update is now available that corrects all known Year 2000 related issues in the applications used in Office 95. For more detailed information and to download this update please go to http://officeupdate.microsoft.com/articles/O95y2kfactsheet.htm.

Description of how the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.

Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which forces users to enter dates in a 2-digit format. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.

Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Parsing on date entry. OLEAUT32. 2.20.4054 or higher is required in order for Access 95 to correctly recognize 2-digit date shortcuts as falling within a window between 1930 and 2029. Without that file update, Access assumes that all shortcut dates fall in the current century.


Two-digit shortcut handling:

Microsoft Access 95's interpretation of dates depends on the version OLEAUT32.DLL in the system folder.

If your OLEAUT32.DLL has a version of 2.20.4054 or greater, Access 95 interprets dates entered with an abbreviated year format, to mean the 21st century. Office97 and Windows NT 4.0 install a version of OLEAUT32.DLL that follows these rules.

For more information, see The Automation Libraries and the Year 2000 white paper"

      

1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999


If your version of OLEAUT32.DLL is less than 2.20.4054, Access 95 interprets dates entered with an abbreviated year format to mean the current century in the following way. Windows 95 installs a version of OLEAUT32.DLL that follows these rules.

If the current century is the 20th:
1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999
If the current century is the 21st:
1/1/00 through 12/31/99 are interpreted as 1/1/2000 through 12/31/2099

What are the acceptable deviations?

Dates with two digit years in imported text files are interpreted as falling in the twentieth century.  Users can avoid this behavior by importing the files as text rather than as date type, then setting the field type to date.  Dates at that point will be interpreted using Access's own date window of 1930-2029.  Additionally, database synchronization may fail when spanning the century boundary. This behavior is correction in the Office 95 Year 2000 Software Update.

To determine the version of OLEAUT32.DLL you have:

a) Click on the Start button. Go to Find > Files or Folders
b) Enter Oleaut in Named Section; Choose [C:] to look in
c) Highlight Oleaut 32.dll
d) Click on File > Properties
e) Select the Version tab:

      

If File version is 2.20.4054 or higher the below download is not required.

If File version is less than 2.20.4054, the below download is necessary for Access to follow the 2-digit date window of 1930-2029.

Download OLEAUT32.DLL version 2.20.4118

Common date usage errors:

      

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:
In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely.

The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Microsoft Access within your organization.

Functionality

  

Areas Affected

  

Testing Notes

TransferText, Import/Export

  

Tables, Queries, Forms, Reports, Macros, Modules

  

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

     

  

     

Indexes

  

Tables

  

Date and time values can be indexed, and can require unique values.

     

  

     

Format

  

Tables, Queries, Forms, Reports, Modules

  

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

     

  

     

Input Mask

  

Tables, Queries, Forms, Reports, Modules

  

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

     

  

     

Validation Rule

  

Tables, Queries, Forms

  

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

     

  

     

Aggregate Queries

  

Queries

  

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

     

  

     

Domain Functions

  

Queries, Forms, Reports, Modules

  

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

     

  

     

Insert Date & Time

  

Forms, Reports

  

Inserts a calculated field that uses the Format function on the value of Date().

     

  

     

Charting

  

Forms, Reports

  

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

     

  

     

Calendar Control

  

Forms, Reports, Modules

  

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

     

  

     

Report Grouping

  

Reports

  

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

     

  

     

Day(), Month(), Year(), WeekDay()

  

Queries, Forms, Reports, Modules

  

Parses Date/Time data.

  

 

Date(), Now()

  

Queries, Forms, Reports, Modules

  

Returns Date, and Date and Time

   

     

  

         

DateAdd(), DateDiff()

  

Queries, Forms, Reports, Modules

  

Performs calculations on Date/Time data.

   

     

  

         

LastUpdated, DateCreated properties

  

All database objects

  

Date/Time stamp of last update and object creation, provided by DAO.

   

 

  

         

CDate()

  

Queries, Forms, Reports, Modules

  

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

   

Is there any place to find more information on date related issues for this product?

     

  

How To Articles

  

 

Q162718

  

HOWTO: Prepare Visual Basic Applications for the Year 2000

  

 

Q162745

  

ACC: How to Convert Between Julian Days and Dates

  

 

Q109703

  

ACC: How to Find the Number of Days in a Month

  

 

Q168793

  

HOWTO: Change the Short Date Format from Visual Basic

  

 

Q149127

  

ACC: How to Determine If a Date Falls on a Weekend or Holiday

  

 

Q149095

  

ACC: How to Format Dates Regardless of Regional Settings

  

 

Q141536

  

ACC: How to Convert Short Time Format to Different Formats

  

 

Q132101

  

ACC: How to Get the Fiscal Year/Month of a Particular Date

  

 

Q95907

  

ACC: How to Display Only the Last Two Digits of Any Year

  

 

Q92816

  

ACC: Converting Julian Dates with Visual or Access Basic Code

  

 

Q88657

  

ACC: Functions for Calculating and Displaying Date/Time Values

  

 

Q103138

  

ACC: Function to Get Date of Monday Prior to Current Day

  

 

Q100136

  

ACC: Two Functions to Calculate Age in Months and Years

  

 

     

  

Informational Articles

  

 

Q130514

  

ACC: Storing, Calculating, and Comparing Date/Time Data

  

 

Q98802

  

ACC: Date/Time Data Type Provides Current Year Automatically

  

 

Q155669

  

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

  

 

Q142009

  

ACC: How Windows Regional Settings Affect Microsoft Access

  

 

     

  

Other Date Issues

  

 

Q169156

  

ACC95: DateDiff, DateAdd, or DatePart Causes IPF in VBA232.DLL

  

 

Q149945

  

ACC95: Parameter Query Excludes Ending Date

  

 

Q114832

  

ADT/ODE: Calendar Control Cannot Format Individual Dates

  

 

Q96897

  

ACC: Operation Stops When Editing Attached SQL Tables

  

 

Q160575

  

ACC: Can't Paste Append Using Input Mask Based on Short Date

  

 

Q159323

  

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

  

 

Q142184

  

ACC: Conversion Errors Importing Dates with Different Formats

  

 

Q130580

  

Incorrect Date Value Added to Properties Custom Tab

  

 

Q106290

  

ACC: Using Format() and Month() Returns Incorrect Month

  

 

Q103174

  

ACC: Exporting Date Fields to Text Includes Time Format

  

 

Q173097

  

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

   

Q104973

  

ACC: DateDiff() Function Returns Incorrect Value

   

Access 95 uses a number of Microsoft Office 95 shared files for the implementation of dialogs and toolbars, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 95, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 95 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 95  7.0   (Dutch)

Product Summary
Product: Access 95 Version: 7.0 Category:Compliant*
Language: Dutch OS: 32-Bit Win Release Date: 01 Sep 1995
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: OLEAUT32.DLL ver. 2.20.4054 or later and Office 95 Year 2000 Software Update
Product Dependencies: Windows 95 or Windows NT 3.51 or greater
Clock Dependencies: System clock, OLEAUT32.DLL
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 95 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

Prerequisite

An Office 95 Year 2000 update is now available that corrects all known Year 2000 related issues in the applications used in Office 95. For more detailed information and to download this update please go to http://officeupdate.microsoft.com/articles/O95y2kfactsheet.htm.

Description of how the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.

Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which forces users to enter dates in a 2-digit format. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.

Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Parsing on date entry. OLEAUT32. 2.20.4054 or higher is required in order for Access 95 to correctly recognize 2-digit date shortcuts as falling within a window between 1930 and 2029. Without that file update, Access assumes that all shortcut dates fall in the current century.


Two-digit shortcut handling:

Microsoft Access 95's interpretation of dates depends on the version OLEAUT32.DLL in the system folder.

If your OLEAUT32.DLL has a version of 2.20.4054 or greater, Access 95 interprets dates entered with an abbreviated year format, to mean the 21st century. Office97 and Windows NT 4.0 install a version of OLEAUT32.DLL that follows these rules.

For more information, see The Automation Libraries and the Year 2000 white paper"

      

1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999


If your version of OLEAUT32.DLL is less than 2.20.4054, Access 95 interprets dates entered with an abbreviated year format to mean the current century in the following way. Windows 95 installs a version of OLEAUT32.DLL that follows these rules.

If the current century is the 20th:
1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999
If the current century is the 21st:
1/1/00 through 12/31/99 are interpreted as 1/1/2000 through 12/31/2099

What are the acceptable deviations?

Dates with two digit years in imported text files are interpreted as falling in the twentieth century.  Users can avoid this behavior by importing the files as text rather than as date type, then setting the field type to date.  Dates at that point will be interpreted using Access's own date window of 1930-2029.  Additionally, database synchronization may fail when spanning the century boundary. This behavior is correction in the Office 95 Year 2000 Software Update.

To determine the version of OLEAUT32.DLL you have:

a) Click on the Start button. Go to Find > Files or Folders
b) Enter Oleaut in Named Section; Choose [C:] to look in
c) Highlight Oleaut 32.dll
d) Click on File > Properties
e) Select the Version tab:

      

If File version is 2.20.4054 or higher the below download is not required.

If File version is less than 2.20.4054, the below download is necessary for Access to follow the 2-digit date window of 1930-2029.

Download OLEAUT32.DLL version 2.20.4118

Common date usage errors:

      

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:
In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely.

The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Microsoft Access within your organization.

Functionality

  

Areas Affected

  

Testing Notes

TransferText, Import/Export

  

Tables, Queries, Forms, Reports, Macros, Modules

  

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

     

  

     

Indexes

  

Tables

  

Date and time values can be indexed, and can require unique values.

     

  

     

Format

  

Tables, Queries, Forms, Reports, Modules

  

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

     

  

     

Input Mask

  

Tables, Queries, Forms, Reports, Modules

  

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

     

  

     

Validation Rule

  

Tables, Queries, Forms

  

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

     

  

     

Aggregate Queries

  

Queries

  

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

     

  

     

Domain Functions

  

Queries, Forms, Reports, Modules

  

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

     

  

     

Insert Date & Time

  

Forms, Reports

  

Inserts a calculated field that uses the Format function on the value of Date().

     

  

     

Charting

  

Forms, Reports

  

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

     

  

     

Calendar Control

  

Forms, Reports, Modules

  

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

     

  

     

Report Grouping

  

Reports

  

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

     

  

     

Day(), Month(), Year(), WeekDay()

  

Queries, Forms, Reports, Modules

  

Parses Date/Time data.

  

 

Date(), Now()

  

Queries, Forms, Reports, Modules

  

Returns Date, and Date and Time

   

     

  

         

DateAdd(), DateDiff()

  

Queries, Forms, Reports, Modules

  

Performs calculations on Date/Time data.

   

     

  

         

LastUpdated, DateCreated properties

  

All database objects

  

Date/Time stamp of last update and object creation, provided by DAO.

   

 

  

         

CDate()

  

Queries, Forms, Reports, Modules

  

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

   

Is there any place to find more information on date related issues for this product?

     

  

How To Articles

  

 

Q162718

  

HOWTO: Prepare Visual Basic Applications for the Year 2000

  

 

Q162745

  

ACC: How to Convert Between Julian Days and Dates

  

 

Q109703

  

ACC: How to Find the Number of Days in a Month

  

 

Q168793

  

HOWTO: Change the Short Date Format from Visual Basic

  

 

Q149127

  

ACC: How to Determine If a Date Falls on a Weekend or Holiday

  

 

Q149095

  

ACC: How to Format Dates Regardless of Regional Settings

  

 

Q141536

  

ACC: How to Convert Short Time Format to Different Formats

  

 

Q132101

  

ACC: How to Get the Fiscal Year/Month of a Particular Date

  

 

Q95907

  

ACC: How to Display Only the Last Two Digits of Any Year

  

 

Q92816

  

ACC: Converting Julian Dates with Visual or Access Basic Code

  

 

Q88657

  

ACC: Functions for Calculating and Displaying Date/Time Values

  

 

Q103138

  

ACC: Function to Get Date of Monday Prior to Current Day

  

 

Q100136

  

ACC: Two Functions to Calculate Age in Months and Years

  

 

     

  

Informational Articles

  

 

Q130514

  

ACC: Storing, Calculating, and Comparing Date/Time Data

  

 

Q98802

  

ACC: Date/Time Data Type Provides Current Year Automatically

  

 

Q155669

  

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

  

 

Q142009

  

ACC: How Windows Regional Settings Affect Microsoft Access

  

 

     

  

Other Date Issues

  

 

Q169156

  

ACC95: DateDiff, DateAdd, or DatePart Causes IPF in VBA232.DLL

  

 

Q149945

  

ACC95: Parameter Query Excludes Ending Date

  

 

Q114832

  

ADT/ODE: Calendar Control Cannot Format Individual Dates

  

 

Q96897

  

ACC: Operation Stops When Editing Attached SQL Tables

  

 

Q160575

  

ACC: Can't Paste Append Using Input Mask Based on Short Date

  

 

Q159323

  

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

  

 

Q142184

  

ACC: Conversion Errors Importing Dates with Different Formats

  

 

Q130580

  

Incorrect Date Value Added to Properties Custom Tab

  

 

Q106290

  

ACC: Using Format() and Month() Returns Incorrect Month

  

 

Q103174

  

ACC: Exporting Date Fields to Text Includes Time Format

  

 

Q173097

  

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

   

Q104973

  

ACC: DateDiff() Function Returns Incorrect Value

   

Access 95 uses a number of Microsoft Office 95 shared files for the implementation of dialogs and toolbars, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 95, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 95 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 95  7.0   (English)

Product Summary
Product: Access 95 Version: 7.0 Category:Compliant*
Language: English OS: 32-Bit Win Release Date: 01 Sep 1995
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: OLEAUT32.DLL ver. 2.20.4054 or later (see below to download) and Office 95 Year 2000 Patch
Product Dependencies: Windows 95 or Windows NT 3.51 or greater
Clock Dependencies: System clock, OLEAUT32.DLL
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 95 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

Prerequisite

An Office 95 Year 2000 update is now available that corrects all known Year 2000 related issues in the applications used in Office 95. For more detailed information and to download this update please go to http://officeupdate.microsoft.com/articles/O95y2kfactsheet.htm.

Description of how the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.

Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which forces users to enter dates in a 2-digit format. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.

Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Parsing on date entry. OLEAUT32. 2.20.4054 or higher is required in order for Access 95 to correctly recognize 2-digit date shortcuts as falling within a window between 1930 and 2029. Without that file update, Access assumes that all shortcut dates fall in the current century.


Two-digit shortcut handling:

Microsoft Access 95's interpretation of dates depends on the version OLEAUT32.DLL in the system folder.

If your OLEAUT32.DLL has a version of 2.20.4054 or greater, Access 95 interprets dates entered with an abbreviated year format, to mean the 21st century. Office97 and Windows NT 4.0 install a version of OLEAUT32.DLL that follows these rules.

For more information, see The Automation Libraries and the Year 2000 white paper"

      

1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999


If your version of OLEAUT32.DLL is less than 2.20.4054, Access 95 interprets dates entered with an abbreviated year format to mean the current century in the following way. Windows 95 installs a version of OLEAUT32.DLL that follows these rules.

If the current century is the 20th:
1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999
If the current century is the 21st:
1/1/00 through 12/31/99 are interpreted as 1/1/2000 through 12/31/2099

What are the acceptable deviations?

Dates with two digit years in imported text files are interpreted as falling in the twentieth century.  Users can avoid this behavior by importing the files as text rather than as date type, then setting the field type to date.  Dates at that point will be interpreted using Access's own date window of 1930-2029.  Additionally, database synchronization may fail when spanning the century boundary. This behavior is correction in the Office 95 Year 2000 Software Update.

To determine the version of OLEAUT32.DLL you have:

a) Click on the Start button. Go to Find > Files or Folders
b) Enter Oleaut in Named Section; Choose [C:] to look in
c) Highlight Oleaut 32.dll
d) Click on File > Properties
e) Select the Version tab:

      

If File version is 2.20.4054 or higher the below download is not required.

If File version is less than 2.20.4054, the below download is necessary for Access to follow the 2-digit date window of 1930-2029.

Download OLEAUT32.DLL version 2.20.4118

Common date usage errors:

      

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:
In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely.

The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Microsoft Access within your organization.

Functionality

  

Areas Affected

  

Testing Notes

TransferText, Import/Export

  

Tables, Queries, Forms, Reports, Macros, Modules

  

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

     

  

     

Indexes

  

Tables

  

Date and time values can be indexed, and can require unique values.

     

  

     

Format

  

Tables, Queries, Forms, Reports, Modules

  

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

     

  

     

Input Mask

  

Tables, Queries, Forms, Reports, Modules

  

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

     

  

     

Validation Rule

  

Tables, Queries, Forms

  

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

     

  

     

Aggregate Queries

  

Queries

  

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

     

  

     

Domain Functions

  

Queries, Forms, Reports, Modules

  

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

     

  

     

Insert Date & Time

  

Forms, Reports

  

Inserts a calculated field that uses the Format function on the value of Date().

     

  

     

Charting

  

Forms, Reports

  

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

     

  

     

Calendar Control

  

Forms, Reports, Modules

  

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

     

  

     

Report Grouping

  

Reports

  

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

     

  

     

Day(), Month(), Year(), WeekDay()

  

Queries, Forms, Reports, Modules

  

Parses Date/Time data.

  

 

Date(), Now()

  

Queries, Forms, Reports, Modules

  

Returns Date, and Date and Time

   

     

  

         

DateAdd(), DateDiff()

  

Queries, Forms, Reports, Modules

  

Performs calculations on Date/Time data.

   

     

  

         

LastUpdated, DateCreated properties

  

All database objects

  

Date/Time stamp of last update and object creation, provided by DAO.

   

 

  

         

CDate()

  

Queries, Forms, Reports, Modules

  

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

   

Is there any place to find more information on date related issues for this product?

     

  

How To Articles

  

 

Q162718

  

HOWTO: Prepare Visual Basic Applications for the Year 2000

  

 

Q162745

  

ACC: How to Convert Between Julian Days and Dates

  

 

Q109703

  

ACC: How to Find the Number of Days in a Month

  

 

Q168793

  

HOWTO: Change the Short Date Format from Visual Basic

  

 

Q149127

  

ACC: How to Determine If a Date Falls on a Weekend or Holiday

  

 

Q149095

  

ACC: How to Format Dates Regardless of Regional Settings

  

 

Q141536

  

ACC: How to Convert Short Time Format to Different Formats

  

 

Q132101

  

ACC: How to Get the Fiscal Year/Month of a Particular Date

  

 

Q95907

  

ACC: How to Display Only the Last Two Digits of Any Year

  

 

Q92816

  

ACC: Converting Julian Dates with Visual or Access Basic Code

  

 

Q88657

  

ACC: Functions for Calculating and Displaying Date/Time Values

  

 

Q103138

  

ACC: Function to Get Date of Monday Prior to Current Day

  

 

Q100136

  

ACC: Two Functions to Calculate Age in Months and Years

  

 

     

  

Informational Articles

  

 

Q130514

  

ACC: Storing, Calculating, and Comparing Date/Time Data

  

 

Q98802

  

ACC: Date/Time Data Type Provides Current Year Automatically

  

 

Q155669

  

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

  

 

Q142009

  

ACC: How Windows Regional Settings Affect Microsoft Access

  

 

     

  

Other Date Issues

  

 

Q169156

  

ACC95: DateDiff, DateAdd, or DatePart Causes IPF in VBA232.DLL

  

 

Q149945

  

ACC95: Parameter Query Excludes Ending Date

  

 

Q114832

  

ADT/ODE: Calendar Control Cannot Format Individual Dates

  

 

Q96897

  

ACC: Operation Stops When Editing Attached SQL Tables

  

 

Q160575

  

ACC: Can't Paste Append Using Input Mask Based on Short Date

  

 

Q159323

  

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

  

 

Q142184

  

ACC: Conversion Errors Importing Dates with Different Formats

  

 

Q130580

  

Incorrect Date Value Added to Properties Custom Tab

  

 

Q106290

  

ACC: Using Format() and Month() Returns Incorrect Month

  

 

Q103174

  

ACC: Exporting Date Fields to Text Includes Time Format

  

 

Q173097

  

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

   

Q104973

  

ACC: DateDiff() Function Returns Incorrect Value

   

Access 95 uses a number of Microsoft Office 95 shared files for the implementation of dialogs and toolbars, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 95, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 95 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 95  7.0   (Finnish)

Product Summary
Product: Access 95 Version: 7.0 Category:Compliant*
Language: Finnish OS: 32-Bit Win Release Date: 01 Sep 1995
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: OLEAUT32.DLL ver. 2.20.4054 or later and Office 95 Year 2000 Software Update
Product Dependencies: Windows 95, or Windows NT 3.51 or greaterSystem clock, OLEAUT32.DLL
Clock Dependencies: System clock, OLEAUT32.DLL
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 95 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

Prerequisite

An Office 95 Year 2000 update is now available that corrects all known Year 2000 related issues in the applications used in Office 95. For more detailed information and to download this update please go to http://officeupdate.microsoft.com/articles/O95y2kfactsheet.htm.

Description of how the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.

Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which forces users to enter dates in a 2-digit format. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.

Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Parsing on date entry. OLEAUT32. 2.20.4054 or higher is required in order for Access 95 to correctly recognize 2-digit date shortcuts as falling within a window between 1930 and 2029. Without that file update, Access assumes that all shortcut dates fall in the current century.


Two-digit shortcut handling:

Microsoft Access 95's interpretation of dates depends on the version OLEAUT32.DLL in the system folder.

If your OLEAUT32.DLL has a version of 2.20.4054 or greater, Access 95 interprets dates entered with an abbreviated year format, to mean the 21st century. Office97 and Windows NT 4.0 install a version of OLEAUT32.DLL that follows these rules.

For more information, see The Automation Libraries and the Year 2000 white paper"

      

1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999


If your version of OLEAUT32.DLL is less than 2.20.4054, Access 95 interprets dates entered with an abbreviated year format to mean the current century in the following way. Windows 95 installs a version of OLEAUT32.DLL that follows these rules.

If the current century is the 20th:
1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999
If the current century is the 21st:
1/1/00 through 12/31/99 are interpreted as 1/1/2000 through 12/31/2099

What are the acceptable deviations?

Dates with two digit years in imported text files are interpreted as falling in the twentieth century.  Users can avoid this behavior by importing the files as text rather than as date type, then setting the field type to date.  Dates at that point will be interpreted using Access's own date window of 1930-2029.  Additionally, database synchronization may fail when spanning the century boundary. This behavior is correction in the Office 95 Year 2000 Software Update.

To determine the version of OLEAUT32.DLL you have:

a) Click on the Start button. Go to Find > Files or Folders
b) Enter Oleaut in Named Section; Choose [C:] to look in
c) Highlight Oleaut 32.dll
d) Click on File > Properties
e) Select the Version tab:

      

If File version is 2.20.4054 or higher the below download is not required.

If File version is less than 2.20.4054, the below download is necessary for Access to follow the 2-digit date window of 1930-2029.

Download OLEAUT32.DLL version 2.20.4118

Common date usage errors:

      

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:
In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely.

The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Microsoft Access within your organization.

Functionality

  

Areas Affected

  

Testing Notes

TransferText, Import/Export

  

Tables, Queries, Forms, Reports, Macros, Modules

  

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

     

  

     

Indexes

  

Tables

  

Date and time values can be indexed, and can require unique values.

     

  

     

Format

  

Tables, Queries, Forms, Reports, Modules

  

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

     

  

     

Input Mask

  

Tables, Queries, Forms, Reports, Modules

  

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

     

  

     

Validation Rule

  

Tables, Queries, Forms

  

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

     

  

     

Aggregate Queries

  

Queries

  

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

     

  

     

Domain Functions

  

Queries, Forms, Reports, Modules

  

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

     

  

     

Insert Date & Time

  

Forms, Reports

  

Inserts a calculated field that uses the Format function on the value of Date().

     

  

     

Charting

  

Forms, Reports

  

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

     

  

     

Calendar Control

  

Forms, Reports, Modules

  

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

     

  

     

Report Grouping

  

Reports

  

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

     

  

     

Day(), Month(), Year(), WeekDay()

  

Queries, Forms, Reports, Modules

  

Parses Date/Time data.

  

 

Date(), Now()

  

Queries, Forms, Reports, Modules

  

Returns Date, and Date and Time

   

     

  

         

DateAdd(), DateDiff()

  

Queries, Forms, Reports, Modules

  

Performs calculations on Date/Time data.

   

     

  

         

LastUpdated, DateCreated properties

  

All database objects

  

Date/Time stamp of last update and object creation, provided by DAO.

   

 

  

         

CDate()

  

Queries, Forms, Reports, Modules

  

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

   

Is there any place to find more information on date related issues for this product?

     

  

How To Articles

  

 

Q162718

  

HOWTO: Prepare Visual Basic Applications for the Year 2000

  

 

Q162745

  

ACC: How to Convert Between Julian Days and Dates

  

 

Q109703

  

ACC: How to Find the Number of Days in a Month

  

 

Q168793

  

HOWTO: Change the Short Date Format from Visual Basic

  

 

Q149127

  

ACC: How to Determine If a Date Falls on a Weekend or Holiday

  

 

Q149095

  

ACC: How to Format Dates Regardless of Regional Settings

  

 

Q141536

  

ACC: How to Convert Short Time Format to Different Formats

  

 

Q132101

  

ACC: How to Get the Fiscal Year/Month of a Particular Date

  

 

Q95907

  

ACC: How to Display Only the Last Two Digits of Any Year

  

 

Q92816

  

ACC: Converting Julian Dates with Visual or Access Basic Code

  

 

Q88657

  

ACC: Functions for Calculating and Displaying Date/Time Values

  

 

Q103138

  

ACC: Function to Get Date of Monday Prior to Current Day

  

 

Q100136

  

ACC: Two Functions to Calculate Age in Months and Years

  

 

     

  

Informational Articles

  

 

Q130514

  

ACC: Storing, Calculating, and Comparing Date/Time Data

  

 

Q98802

  

ACC: Date/Time Data Type Provides Current Year Automatically

  

 

Q155669

  

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

  

 

Q142009

  

ACC: How Windows Regional Settings Affect Microsoft Access

  

 

     

  

Other Date Issues

  

 

Q169156

  

ACC95: DateDiff, DateAdd, or DatePart Causes IPF in VBA232.DLL

  

 

Q149945

  

ACC95: Parameter Query Excludes Ending Date

  

 

Q114832

  

ADT/ODE: Calendar Control Cannot Format Individual Dates

  

 

Q96897

  

ACC: Operation Stops When Editing Attached SQL Tables

  

 

Q160575

  

ACC: Can't Paste Append Using Input Mask Based on Short Date

  

 

Q159323

  

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

  

 

Q142184

  

ACC: Conversion Errors Importing Dates with Different Formats

  

 

Q130580

  

Incorrect Date Value Added to Properties Custom Tab

  

 

Q106290

  

ACC: Using Format() and Month() Returns Incorrect Month

  

 

Q103174

  

ACC: Exporting Date Fields to Text Includes Time Format

  

 

Q173097

  

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

   

Q104973

  

ACC: DateDiff() Function Returns Incorrect Value

   

Access 95 uses a number of Microsoft Office 95 shared files for the implementation of dialogs and toolbars, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 95, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 95 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 95  7.0   (French)

Product Summary
Product: Access 95 Version: 7.0 Category:Compliant*
Language: French OS: 32-Bit Win Release Date: 01 Sep 1995
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: OLEAUT32.DLL ver. 2.20.4054 or later and Office 95 Year 2000 Software Update
Product Dependencies: Windows 95 or Windows NT 3.51 or greater
Clock Dependencies: System clock, OLEAUT32.DLL
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 95 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

Prerequisite

An Office 95 Year 2000 update is now available that corrects all known Year 2000 related issues in the applications used in Office 95. For more detailed information and to download this update please go to http://officeupdate.microsoft.com/articles/O95y2kfactsheet.htm.

Description of how the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.

Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which forces users to enter dates in a 2-digit format. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.

Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Parsing on date entry. OLEAUT32. 2.20.4054 or higher is required in order for Access 95 to correctly recognize 2-digit date shortcuts as falling within a window between 1930 and 2029. Without that file update, Access assumes that all shortcut dates fall in the current century.


Two-digit shortcut handling:

Microsoft Access 95's interpretation of dates depends on the version OLEAUT32.DLL in the system folder.

If your OLEAUT32.DLL has a version of 2.20.4054 or greater, Access 95 interprets dates entered with an abbreviated year format, to mean the 21st century. Office97 and Windows NT 4.0 install a version of OLEAUT32.DLL that follows these rules.

For more information, see The Automation Libraries and the Year 2000 white paper"

      

1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999


If your version of OLEAUT32.DLL is less than 2.20.4054, Access 95 interprets dates entered with an abbreviated year format to mean the current century in the following way. Windows 95 installs a version of OLEAUT32.DLL that follows these rules.

If the current century is the 20th:
1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999
If the current century is the 21st:
1/1/00 through 12/31/99 are interpreted as 1/1/2000 through 12/31/2099

What are the acceptable deviations?

Dates with two digit years in imported text files are interpreted as falling in the twentieth century.  Users can avoid this behavior by importing the files as text rather than as date type, then setting the field type to date.  Dates at that point will be interpreted using Access's own date window of 1930-2029.  Additionally, database synchronization may fail when spanning the century boundary. This behavior is correction in the Office 95 Year 2000 Software Update.

To determine the version of OLEAUT32.DLL you have:

a) Click on the Start button. Go to Find > Files or Folders
b) Enter Oleaut in Named Section; Choose [C:] to look in
c) Highlight Oleaut 32.dll
d) Click on File > Properties
e) Select the Version tab:

      

If File version is 2.20.4054 or higher the below download is not required.

If File version is less than 2.20.4054, the below download is necessary for Access to follow the 2-digit date window of 1930-2029.

Download OLEAUT32.DLL version 2.20.4118

Common date usage errors:

      

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:
In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely.

The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Microsoft Access within your organization.

Functionality

  

Areas Affected

  

Testing Notes

TransferText, Import/Export

  

Tables, Queries, Forms, Reports, Macros, Modules

  

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

     

  

     

Indexes

  

Tables

  

Date and time values can be indexed, and can require unique values.

     

  

     

Format

  

Tables, Queries, Forms, Reports, Modules

  

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

     

  

     

Input Mask

  

Tables, Queries, Forms, Reports, Modules

  

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

     

  

     

Validation Rule

  

Tables, Queries, Forms

  

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

     

  

     

Aggregate Queries

  

Queries

  

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

     

  

     

Domain Functions

  

Queries, Forms, Reports, Modules

  

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

     

  

     

Insert Date & Time

  

Forms, Reports

  

Inserts a calculated field that uses the Format function on the value of Date().

     

  

     

Charting

  

Forms, Reports

  

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

     

  

     

Calendar Control

  

Forms, Reports, Modules

  

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

     

  

     

Report Grouping

  

Reports

  

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

     

  

     

Day(), Month(), Year(), WeekDay()

  

Queries, Forms, Reports, Modules

  

Parses Date/Time data.

  

 

Date(), Now()

  

Queries, Forms, Reports, Modules

  

Returns Date, and Date and Time

   

     

  

         

DateAdd(), DateDiff()

  

Queries, Forms, Reports, Modules

  

Performs calculations on Date/Time data.

   

     

  

         

LastUpdated, DateCreated properties

  

All database objects

  

Date/Time stamp of last update and object creation, provided by DAO.

   

 

  

         

CDate()

  

Queries, Forms, Reports, Modules

  

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

   

Is there any place to find more information on date related issues for this product?

     

  

How To Articles

  

 

Q162718

  

HOWTO: Prepare Visual Basic Applications for the Year 2000

  

 

Q162745

  

ACC: How to Convert Between Julian Days and Dates

  

 

Q109703

  

ACC: How to Find the Number of Days in a Month

  

 

Q168793

  

HOWTO: Change the Short Date Format from Visual Basic

  

 

Q149127

  

ACC: How to Determine If a Date Falls on a Weekend or Holiday

  

 

Q149095

  

ACC: How to Format Dates Regardless of Regional Settings

  

 

Q141536

  

ACC: How to Convert Short Time Format to Different Formats

  

 

Q132101

  

ACC: How to Get the Fiscal Year/Month of a Particular Date

  

 

Q95907

  

ACC: How to Display Only the Last Two Digits of Any Year

  

 

Q92816

  

ACC: Converting Julian Dates with Visual or Access Basic Code

  

 

Q88657

  

ACC: Functions for Calculating and Displaying Date/Time Values

  

 

Q103138

  

ACC: Function to Get Date of Monday Prior to Current Day

  

 

Q100136

  

ACC: Two Functions to Calculate Age in Months and Years

  

 

     

  

Informational Articles

  

 

Q130514

  

ACC: Storing, Calculating, and Comparing Date/Time Data

  

 

Q98802

  

ACC: Date/Time Data Type Provides Current Year Automatically

  

 

Q155669

  

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

  

 

Q142009

  

ACC: How Windows Regional Settings Affect Microsoft Access

  

 

     

  

Other Date Issues

  

 

Q169156

  

ACC95: DateDiff, DateAdd, or DatePart Causes IPF in VBA232.DLL

  

 

Q149945

  

ACC95: Parameter Query Excludes Ending Date

  

 

Q114832

  

ADT/ODE: Calendar Control Cannot Format Individual Dates

  

 

Q96897

  

ACC: Operation Stops When Editing Attached SQL Tables

  

 

Q160575

  

ACC: Can't Paste Append Using Input Mask Based on Short Date

  

 

Q159323

  

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

  

 

Q142184

  

ACC: Conversion Errors Importing Dates with Different Formats

  

 

Q130580

  

Incorrect Date Value Added to Properties Custom Tab

  

 

Q106290

  

ACC: Using Format() and Month() Returns Incorrect Month

  

 

Q103174

  

ACC: Exporting Date Fields to Text Includes Time Format

  

 

Q173097

  

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

   

Q104973

  

ACC: DateDiff() Function Returns Incorrect Value

   

Access 95 uses a number of Microsoft Office 95 shared files for the implementation of dialogs and toolbars, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 95, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 95 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 95  7.0   (German)

Product Summary
Product: Access 95 Version: 7.0 Category:Compliant*
Language: German OS: 32-Bit Win Release Date: 01 Sep 1995
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: OLEAUT32.DLL ver. 2.20.4118 or later and Office 95 Year 2000 Software Update
Product Dependencies: Windows 95 or Windows NT 3.51 or greater
Clock Dependencies: System clock, OLEAUT32.DLL
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 95 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

Prerequisite

An Office 95 Year 2000 update is now available that corrects all known Year 2000 related issues in the applications used in Office 95. For more detailed information and to download this update please go to http://officeupdate.microsoft.com/articles/O95y2kfactsheet.htm.

Description of how the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.

Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which forces users to enter dates in a 2-digit format. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.

Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Parsing on date entry. OLEAUT32. 2.20.4054 or higher is required in order for Access 95 to correctly recognize 2-digit date shortcuts as falling within a window between 1930 and 2029. Without that file update, Access assumes that all shortcut dates fall in the current century.


Two-digit shortcut handling:

Microsoft Access 95's interpretation of dates depends on the version OLEAUT32.DLL in the system folder.

If your OLEAUT32.DLL has a version of 2.20.4054 or greater, Access 95 interprets dates entered with an abbreviated year format, to mean the 21st century. Office97 and Windows NT 4.0 install a version of OLEAUT32.DLL that follows these rules.

For more information, see The Automation Libraries and the Year 2000 white paper"

      

1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999


If your version of OLEAUT32.DLL is less than 2.20.4054, Access 95 interprets dates entered with an abbreviated year format to mean the current century in the following way. Windows 95 installs a version of OLEAUT32.DLL that follows these rules.

If the current century is the 20th:
1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999
If the current century is the 21st:
1/1/00 through 12/31/99 are interpreted as 1/1/2000 through 12/31/2099

What are the acceptable deviations?

Dates with two digit years in imported text files are interpreted as falling in the twentieth century.  Users can avoid this behavior by importing the files as text rather than as date type, then setting the field type to date.  Dates at that point will be interpreted using Access's own date window of 1930-2029.  Additionally, database synchronization may fail when spanning the century boundary. This behavior is correction in the Office 95 Year 2000 Software Update.

To determine the version of OLEAUT32.DLL you have:

a) Click on the Start button. Go to Find > Files or Folders
b) Enter Oleaut in Named Section; Choose [C:] to look in
c) Highlight Oleaut 32.dll
d) Click on File > Properties
e) Select the Version tab:

      

If File version is 2.20.4054 or higher the below download is not required.

If File version is less than 2.20.4054, the below download is necessary for Access to follow the 2-digit date window of 1930-2029.

Download OLEAUT32.DLL version 2.20.4118

Common date usage errors:

      

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:
In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely.

The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Microsoft Access within your organization.

Functionality

  

Areas Affected

  

Testing Notes

TransferText, Import/Export

  

Tables, Queries, Forms, Reports, Macros, Modules

  

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

     

  

     

Indexes

  

Tables

  

Date and time values can be indexed, and can require unique values.

     

  

     

Format

  

Tables, Queries, Forms, Reports, Modules

  

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

     

  

     

Input Mask

  

Tables, Queries, Forms, Reports, Modules

  

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

     

  

     

Validation Rule

  

Tables, Queries, Forms

  

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

     

  

     

Aggregate Queries

  

Queries

  

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

     

  

     

Domain Functions

  

Queries, Forms, Reports, Modules

  

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

     

  

     

Insert Date & Time

  

Forms, Reports

  

Inserts a calculated field that uses the Format function on the value of Date().

     

  

     

Charting

  

Forms, Reports

  

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

     

  

     

Calendar Control

  

Forms, Reports, Modules

  

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

     

  

     

Report Grouping

  

Reports

  

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

     

  

     

Day(), Month(), Year(), WeekDay()

  

Queries, Forms, Reports, Modules

  

Parses Date/Time data.

  

 

Date(), Now()

  

Queries, Forms, Reports, Modules

  

Returns Date, and Date and Time

   

     

  

         

DateAdd(), DateDiff()

  

Queries, Forms, Reports, Modules

  

Performs calculations on Date/Time data.

   

     

  

         

LastUpdated, DateCreated properties

  

All database objects

  

Date/Time stamp of last update and object creation, provided by DAO.

   

 

  

         

CDate()

  

Queries, Forms, Reports, Modules

  

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

   

Is there any place to find more information on date related issues for this product?

     

  

How To Articles

  

 

Q162718

  

HOWTO: Prepare Visual Basic Applications for the Year 2000

  

 

Q162745

  

ACC: How to Convert Between Julian Days and Dates

  

 

Q109703

  

ACC: How to Find the Number of Days in a Month

  

 

Q168793

  

HOWTO: Change the Short Date Format from Visual Basic

  

 

Q149127

  

ACC: How to Determine If a Date Falls on a Weekend or Holiday

  

 

Q149095

  

ACC: How to Format Dates Regardless of Regional Settings

  

 

Q141536

  

ACC: How to Convert Short Time Format to Different Formats

  

 

Q132101

  

ACC: How to Get the Fiscal Year/Month of a Particular Date

  

 

Q95907

  

ACC: How to Display Only the Last Two Digits of Any Year

  

 

Q92816

  

ACC: Converting Julian Dates with Visual or Access Basic Code

  

 

Q88657

  

ACC: Functions for Calculating and Displaying Date/Time Values

  

 

Q103138

  

ACC: Function to Get Date of Monday Prior to Current Day

  

 

Q100136

  

ACC: Two Functions to Calculate Age in Months and Years

  

 

     

  

Informational Articles

  

 

Q130514

  

ACC: Storing, Calculating, and Comparing Date/Time Data

  

 

Q98802

  

ACC: Date/Time Data Type Provides Current Year Automatically

  

 

Q155669

  

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

  

 

Q142009

  

ACC: How Windows Regional Settings Affect Microsoft Access

  

 

     

  

Other Date Issues

  

 

Q169156

  

ACC95: DateDiff, DateAdd, or DatePart Causes IPF in VBA232.DLL

  

 

Q149945

  

ACC95: Parameter Query Excludes Ending Date

  

 

Q114832

  

ADT/ODE: Calendar Control Cannot Format Individual Dates

  

 

Q96897

  

ACC: Operation Stops When Editing Attached SQL Tables

  

 

Q160575

  

ACC: Can't Paste Append Using Input Mask Based on Short Date

  

 

Q159323

  

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

  

 

Q142184

  

ACC: Conversion Errors Importing Dates with Different Formats

  

 

Q130580

  

Incorrect Date Value Added to Properties Custom Tab

  

 

Q106290

  

ACC: Using Format() and Month() Returns Incorrect Month

  

 

Q103174

  

ACC: Exporting Date Fields to Text Includes Time Format

  

 

Q173097

  

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

   

Q104973

  

ACC: DateDiff() Function Returns Incorrect Value

   

Access 95 uses a number of Microsoft Office 95 shared files for the implementation of dialogs and toolbars, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 95, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 95 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 95  7.0   (Greek)

Product Summary
Product: Access 95 Version: 7.0 Category:Compliant*
Language: Greek OS: 32-Bit Win Release Date: 01 Sep 1995
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: OLEAUT32.DLL ver. 2.20.4054 or later and Office 95 Year 2000 Software Update
Product Dependencies: Windows 95, or Windows NT 3.51 or greater
Clock Dependencies: System clock, OLEAUT32.DLL
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 95 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

Prerequisite

An Office 95 Year 2000 update is now available that corrects all known Year 2000 related issues in the applications used in Office 95. For more detailed information and to download this update please go to http://officeupdate.microsoft.com/articles/O95y2kfactsheet.htm.

Description of how the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.

Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which forces users to enter dates in a 2-digit format. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.

Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Parsing on date entry. OLEAUT32. 2.20.4054 or higher is required in order for Access 95 to correctly recognize 2-digit date shortcuts as falling within a window between 1930 and 2029. Without that file update, Access assumes that all shortcut dates fall in the current century.


Two-digit shortcut handling:

Microsoft Access 95's interpretation of dates depends on the version OLEAUT32.DLL in the system folder.

If your OLEAUT32.DLL has a version of 2.20.4054 or greater, Access 95 interprets dates entered with an abbreviated year format, to mean the 21st century. Office97 and Windows NT 4.0 install a version of OLEAUT32.DLL that follows these rules.

For more information, see The Automation Libraries and the Year 2000 white paper"

      

1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999


If your version of OLEAUT32.DLL is less than 2.20.4054, Access 95 interprets dates entered with an abbreviated year format to mean the current century in the following way. Windows 95 installs a version of OLEAUT32.DLL that follows these rules.

If the current century is the 20th:
1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999
If the current century is the 21st:
1/1/00 through 12/31/99 are interpreted as 1/1/2000 through 12/31/2099

What are the acceptable deviations?

Dates with two digit years in imported text files are interpreted as falling in the twentieth century.  Users can avoid this behavior by importing the files as text rather than as date type, then setting the field type to date.  Dates at that point will be interpreted using Access's own date window of 1930-2029.  Additionally, database synchronization may fail when spanning the century boundary. This behavior is correction in the Office 95 Year 2000 Software Update.

To determine the version of OLEAUT32.DLL you have:

a) Click on the Start button. Go to Find > Files or Folders
b) Enter Oleaut in Named Section; Choose [C:] to look in
c) Highlight Oleaut 32.dll
d) Click on File > Properties
e) Select the Version tab:

      

If File version is 2.20.4054 or higher the below download is not required.

If File version is less than 2.20.4054, the below download is necessary for Access to follow the 2-digit date window of 1930-2029.

Download OLEAUT32.DLL version 2.20.4118

Common date usage errors:

      

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:
In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely.

The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Microsoft Access within your organization.

Functionality

  

Areas Affected

  

Testing Notes

TransferText, Import/Export

  

Tables, Queries, Forms, Reports, Macros, Modules

  

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

     

  

     

Indexes

  

Tables

  

Date and time values can be indexed, and can require unique values.

     

  

     

Format

  

Tables, Queries, Forms, Reports, Modules

  

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

     

  

     

Input Mask

  

Tables, Queries, Forms, Reports, Modules

  

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

     

  

     

Validation Rule

  

Tables, Queries, Forms

  

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

     

  

     

Aggregate Queries

  

Queries

  

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

     

  

     

Domain Functions

  

Queries, Forms, Reports, Modules

  

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

     

  

     

Insert Date & Time

  

Forms, Reports

  

Inserts a calculated field that uses the Format function on the value of Date().

     

  

     

Charting

  

Forms, Reports

  

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

     

  

     

Calendar Control

  

Forms, Reports, Modules

  

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

     

  

     

Report Grouping

  

Reports

  

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

     

  

     

Day(), Month(), Year(), WeekDay()

  

Queries, Forms, Reports, Modules

  

Parses Date/Time data.

  

 

Date(), Now()

  

Queries, Forms, Reports, Modules

  

Returns Date, and Date and Time

   

     

  

         

DateAdd(), DateDiff()

  

Queries, Forms, Reports, Modules

  

Performs calculations on Date/Time data.

   

     

  

         

LastUpdated, DateCreated properties

  

All database objects

  

Date/Time stamp of last update and object creation, provided by DAO.

   

 

  

         

CDate()

  

Queries, Forms, Reports, Modules

  

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

   

Is there any place to find more information on date related issues for this product?

     

  

How To Articles

  

 

Q162718

  

HOWTO: Prepare Visual Basic Applications for the Year 2000

  

 

Q162745

  

ACC: How to Convert Between Julian Days and Dates

  

 

Q109703

  

ACC: How to Find the Number of Days in a Month

  

 

Q168793

  

HOWTO: Change the Short Date Format from Visual Basic

  

 

Q149127

  

ACC: How to Determine If a Date Falls on a Weekend or Holiday

  

 

Q149095

  

ACC: How to Format Dates Regardless of Regional Settings

  

 

Q141536

  

ACC: How to Convert Short Time Format to Different Formats

  

 

Q132101

  

ACC: How to Get the Fiscal Year/Month of a Particular Date

  

 

Q95907

  

ACC: How to Display Only the Last Two Digits of Any Year

  

 

Q92816

  

ACC: Converting Julian Dates with Visual or Access Basic Code

  

 

Q88657

  

ACC: Functions for Calculating and Displaying Date/Time Values

  

 

Q103138

  

ACC: Function to Get Date of Monday Prior to Current Day

  

 

Q100136

  

ACC: Two Functions to Calculate Age in Months and Years

  

 

     

  

Informational Articles

  

 

Q130514

  

ACC: Storing, Calculating, and Comparing Date/Time Data

  

 

Q98802

  

ACC: Date/Time Data Type Provides Current Year Automatically

  

 

Q155669

  

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

  

 

Q142009

  

ACC: How Windows Regional Settings Affect Microsoft Access

  

 

     

  

Other Date Issues

  

 

Q169156

  

ACC95: DateDiff, DateAdd, or DatePart Causes IPF in VBA232.DLL

  

 

Q149945

  

ACC95: Parameter Query Excludes Ending Date

  

 

Q114832

  

ADT/ODE: Calendar Control Cannot Format Individual Dates

  

 

Q96897

  

ACC: Operation Stops When Editing Attached SQL Tables

  

 

Q160575

  

ACC: Can't Paste Append Using Input Mask Based on Short Date

  

 

Q159323

  

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

  

 

Q142184

  

ACC: Conversion Errors Importing Dates with Different Formats

  

 

Q130580

  

Incorrect Date Value Added to Properties Custom Tab

  

 

Q106290

  

ACC: Using Format() and Month() Returns Incorrect Month

  

 

Q103174

  

ACC: Exporting Date Fields to Text Includes Time Format

  

 

Q173097

  

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

   

Q104973

  

ACC: DateDiff() Function Returns Incorrect Value

   

Access 95 uses a number of Microsoft Office 95 shared files for the implementation of dialogs and toolbars, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 95, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 95 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 95  7.0   (Hebrew)

Product Summary
Product: Access 95 Version: 7.0 Category:Compliant*#
Language: Hebrew OS: 32-Bit Win Release Date: 01 Sep 1995
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: OLEAUT32.DLL ver. 2.20.4054 or later (see below to download)
Product Dependencies: Windows 95
Clock Dependencies: System clock, OLEAUT32.DLL
Last Updated: 29 Sep 1999
Product Details


Description of how the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.

Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which forces users to enter dates in a 2-digit format. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.

Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Parsing on date entry. OLEAUT32. 2.20.4054 or higher is required in order for Access 95 to correctly recognize 2-digit date shortcuts as falling within a window between 1930 and 2029. Without that file update, Access assumes that all shortcut dates fall in the current century.



Two-digit shortcut handling:

Microsoft Access 95's interpretation of dates depends on the version OLEAUT32.DLL in the system folder.

If your OLEAUT32.DLL has a version of 2.20.4054 or greater, Access 95 interprets dates entered with an abbreviated year format, to mean the 21st century. Office97 and Windows NT 4.0 install a version of OLEAUT32.DLL that follows these rules.

For more information, see The Automation Libraries and the Year 2000 whitepaper"

      

1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999


If your version of OLEAUT32.DLL is less than 2.20.4054, Access 95 interprets dates entered with an abbreviated year format to mean the current century in the following way. Windows 95 installs a version of OLEAUT32.DLL that follows these rules.

If the current century is the 20th:
1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999
If the current century is the 21st:
1/1/00 through 12/31/99 are interpreted as 1/1/2000 through 12/31/2099

Why is it Compliant#?

Dates with two digit years in imported text files are interpreted as falling in the twentieth century.  Users can avoid this behavior by importing the files as text rather than as date type, then setting the field type to date.  Dates at that point will be interpreted using Access's own date window of 1930-2029.  Additionally, database synchronization may fail when spanning the century boundary.  


To determine the version of OLEAUT32.DLL you have:

a) Click on the Start button. Go to Find > Files or Folders
b) Enter Oleaut in Named Section; Choose [C:] to look in
c) Highlight Oleaut 32.dll
d) Click on File > Properties
e) Select the Version tab:

      

If File version is 2.20.4054 or higher the below download is not required.

If File version is less than 2.20.4054, the below download is necessary for Access to follow the 2-digit date window of 1930-2029.

Download OLEAUT32.DLL version 2.20.4118
Common date usage errors:

      

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.


Testing guidelines and recommendations:
In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely.

The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Microsoft Access within your organization.

Functionality

  

Areas Affected

  

Testing Notes

TransferText, Import/Export

  

Tables, Queries, Forms, Reports, Macros, Modules

  

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

     

  

     

Indexes

  

Tables

  

Date and time values can be indexed, and can require unique values.

     

  

     

Format

  

Tables, Queries, Forms, Reports, Modules

  

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

     

  

     

Input Mask

  

Tables, Queries, Forms, Reports, Modules

  

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

     

  

     

Validation Rule

  

Tables, Queries, Forms

  

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

     

  

     

Aggregate Queries

  

Queries

  

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

     

  

     

Domain Functions

  

Queries, Forms, Reports, Modules

  

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

     

  

     

Insert Date & Time

  

Forms, Reports

  

Inserts a calculated field that uses the Format function on the value of Date().

     

  

     

Charting

  

Forms, Reports

  

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

     

  

     

Calendar Control

  

Forms, Reports, Modules

  

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

     

  

     

Report Grouping

  

Reports

  

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

     

  

     

Day(), Month(), Year(), WeekDay()

  

Queries, Forms, Reports, Modules

  

Parses Date/Time data.

  

 

Date(), Now()

  

Queries, Forms, Reports, Modules

  

Returns Date, and Date and Time

   

     

  

         

DateAdd(), DateDiff()

  

Queries, Forms, Reports, Modules

  

Performs calculations on Date/Time data.

   

     

  

         

LastUpdated, DateCreated properties

  

All database objects

  

Date/Time stamp of last update and object creation, provided by DAO.

   

 

  

         

CDate()

  

Queries, Forms, Reports, Modules

  

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

   

Is there any place to find more information on date related issues for this product?

     

  

How To Articles

  

 

Q162718

  

HOWTO: Prepare Visual Basic Applications for the Year 2000

  

 

Q162745

  

ACC: How to Convert Between Julian Days and Dates

  

 

Q109703

  

ACC: How to Find the Number of Days in a Month

  

 

Q168793

  

HOWTO: Change the Short Date Format from Visual Basic

  

 

Q149127

  

ACC: How to Determine If a Date Falls on a Weekend or Holiday

  

 

Q149095

  

ACC: How to Format Dates Regardless of Regional Settings

  

 

Q141536

  

ACC: How to Convert Short Time Format to Different Formats

  

 

Q132101

  

ACC: How to Get the Fiscal Year/Month of a Particular Date

  

 

Q95907

  

ACC: How to Display Only the Last Two Digits of Any Year

  

 

Q92816

  

ACC: Converting Julian Dates with Visual or Access Basic Code

  

 

Q88657

  

ACC: Functions for Calculating and Displaying Date/Time Values

  

 

Q103138

  

ACC: Function to Get Date of Monday Prior to Current Day

  

 

Q100136

  

ACC: Two Functions to Calculate Age in Months and Years

  

 

     

  

Informational Articles

  

 

Q130514

  

ACC: Storing, Calculating, and Comparing Date/Time Data

  

 

Q98802

  

ACC: Date/Time Data Type Provides Current Year Automatically

  

 

Q155669

  

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

  

 

Q142009

  

ACC: How Windows Regional Settings Affect Microsoft Access

  

 

     

  

Other Date Issues

  

 

Q169156

  

ACC95: DateDiff, DateAdd, or DatePart Causes IPF in VBA232.DLL

  

 

Q149945

  

ACC95: Parameter Query Excludes Ending Date

  

 

Q114832

  

ADT/ODE: Calendar Control Cannot Format Individual Dates

  

 

Q96897

  

ACC: Operation Stops When Editing Attached SQL Tables

  

 

Q160575

  

ACC: Can't Paste Append Using Input Mask Based on Short Date

  

 

Q159323

  

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

  

 

Q142184

  

ACC: Conversion Errors Importing Dates with Different Formats

  

 

Q130580

  

Incorrect Date Value Added to Properties Custom Tab

  

 

Q106290

  

ACC: Using Format() and Month() Returns Incorrect Month

  

 

Q103174

  

ACC: Exporting Date Fields to Text Includes Time Format

  

 

Q173097

  

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

   

Q104973

  

ACC: DateDiff() Function Returns Incorrect Value

   

Access 95 uses a number of Microsoft Office 95 shared files for the implementation of dialogs and toolbars, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 95, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 95 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 95  7.0   (Hungarian)

Product Summary
Product: Access 95 Version: 7.0 Category:Compliant*
Language: Hungarian OS: 32-Bit Win Release Date: 01 Sep 1995
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: OLEAUT32.DLL ver. 2.20.4054 or later and Office 95 Year 2000 Software Update
Product Dependencies: Windows 95 or Windows NT 3.51 or greater
Clock Dependencies: System clock, OLEAUT32.DLL
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 95 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

Prerequisite

An Office 95 Year 2000 update is now available that corrects all known Year 2000 related issues in the applications used in Office 95. For more detailed information and to download this update please go to http://officeupdate.microsoft.com/articles/O95y2kfactsheet.htm.

Description of how the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.

Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which forces users to enter dates in a 2-digit format. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.

Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Parsing on date entry. OLEAUT32. 2.20.4054 or higher is required in order for Access 95 to correctly recognize 2-digit date shortcuts as falling within a window between 1930 and 2029. Without that file update, Access assumes that all shortcut dates fall in the current century.


Two-digit shortcut handling:

Microsoft Access 95's interpretation of dates depends on the version OLEAUT32.DLL in the system folder.

If your OLEAUT32.DLL has a version of 2.20.4054 or greater, Access 95 interprets dates entered with an abbreviated year format, to mean the 21st century. Office97 and Windows NT 4.0 install a version of OLEAUT32.DLL that follows these rules.

For more information, see The Automation Libraries and the Year 2000 white paper"

      

1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999


If your version of OLEAUT32.DLL is less than 2.20.4054, Access 95 interprets dates entered with an abbreviated year format to mean the current century in the following way. Windows 95 installs a version of OLEAUT32.DLL that follows these rules.

If the current century is the 20th:
1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999
If the current century is the 21st:
1/1/00 through 12/31/99 are interpreted as 1/1/2000 through 12/31/2099

What are the acceptable deviations?

Dates with two digit years in imported text files are interpreted as falling in the twentieth century.  Users can avoid this behavior by importing the files as text rather than as date type, then setting the field type to date.  Dates at that point will be interpreted using Access's own date window of 1930-2029.  Additionally, database synchronization may fail when spanning the century boundary. This behavior is correction in the Office 95 Year 2000 Software Update.

To determine the version of OLEAUT32.DLL you have:

a) Click on the Start button. Go to Find > Files or Folders
b) Enter Oleaut in Named Section; Choose [C:] to look in
c) Highlight Oleaut 32.dll
d) Click on File > Properties
e) Select the Version tab:

      

If File version is 2.20.4054 or higher the below download is not required.

If File version is less than 2.20.4054, the below download is necessary for Access to follow the 2-digit date window of 1930-2029.

Download OLEAUT32.DLL version 2.20.4118

Common date usage errors:

      

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:
In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely.

The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Microsoft Access within your organization.

Functionality

  

Areas Affected

  

Testing Notes

TransferText, Import/Export

  

Tables, Queries, Forms, Reports, Macros, Modules

  

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

     

  

     

Indexes

  

Tables

  

Date and time values can be indexed, and can require unique values.

     

  

     

Format

  

Tables, Queries, Forms, Reports, Modules

  

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

     

  

     

Input Mask

  

Tables, Queries, Forms, Reports, Modules

  

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

     

  

     

Validation Rule

  

Tables, Queries, Forms

  

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

     

  

     

Aggregate Queries

  

Queries

  

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

     

  

     

Domain Functions

  

Queries, Forms, Reports, Modules

  

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

     

  

     

Insert Date & Time

  

Forms, Reports

  

Inserts a calculated field that uses the Format function on the value of Date().

     

  

     

Charting

  

Forms, Reports

  

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

     

  

     

Calendar Control

  

Forms, Reports, Modules

  

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

     

  

     

Report Grouping

  

Reports

  

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

     

  

     

Day(), Month(), Year(), WeekDay()

  

Queries, Forms, Reports, Modules

  

Parses Date/Time data.

  

 

Date(), Now()

  

Queries, Forms, Reports, Modules

  

Returns Date, and Date and Time

   

     

  

         

DateAdd(), DateDiff()

  

Queries, Forms, Reports, Modules

  

Performs calculations on Date/Time data.

   

     

  

         

LastUpdated, DateCreated properties

  

All database objects

  

Date/Time stamp of last update and object creation, provided by DAO.

   

 

  

         

CDate()

  

Queries, Forms, Reports, Modules

  

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

   

Is there any place to find more information on date related issues for this product?

     

  

How To Articles

  

 

Q162718

  

HOWTO: Prepare Visual Basic Applications for the Year 2000

  

 

Q162745

  

ACC: How to Convert Between Julian Days and Dates

  

 

Q109703

  

ACC: How to Find the Number of Days in a Month

  

 

Q168793

  

HOWTO: Change the Short Date Format from Visual Basic

  

 

Q149127

  

ACC: How to Determine If a Date Falls on a Weekend or Holiday

  

 

Q149095

  

ACC: How to Format Dates Regardless of Regional Settings

  

 

Q141536

  

ACC: How to Convert Short Time Format to Different Formats

  

 

Q132101

  

ACC: How to Get the Fiscal Year/Month of a Particular Date

  

 

Q95907

  

ACC: How to Display Only the Last Two Digits of Any Year

  

 

Q92816

  

ACC: Converting Julian Dates with Visual or Access Basic Code

  

 

Q88657

  

ACC: Functions for Calculating and Displaying Date/Time Values

  

 

Q103138

  

ACC: Function to Get Date of Monday Prior to Current Day

  

 

Q100136

  

ACC: Two Functions to Calculate Age in Months and Years

  

 

     

  

Informational Articles

  

 

Q130514

  

ACC: Storing, Calculating, and Comparing Date/Time Data

  

 

Q98802

  

ACC: Date/Time Data Type Provides Current Year Automatically

  

 

Q155669

  

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

  

 

Q142009

  

ACC: How Windows Regional Settings Affect Microsoft Access

  

 

     

  

Other Date Issues

  

 

Q169156

  

ACC95: DateDiff, DateAdd, or DatePart Causes IPF in VBA232.DLL

  

 

Q149945

  

ACC95: Parameter Query Excludes Ending Date

  

 

Q114832

  

ADT/ODE: Calendar Control Cannot Format Individual Dates

  

 

Q96897

  

ACC: Operation Stops When Editing Attached SQL Tables

  

 

Q160575

  

ACC: Can't Paste Append Using Input Mask Based on Short Date

  

 

Q159323

  

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

  

 

Q142184

  

ACC: Conversion Errors Importing Dates with Different Formats

  

 

Q130580

  

Incorrect Date Value Added to Properties Custom Tab

  

 

Q106290

  

ACC: Using Format() and Month() Returns Incorrect Month

  

 

Q103174

  

ACC: Exporting Date Fields to Text Includes Time Format

  

 

Q173097

  

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

   

Q104973

  

ACC: DateDiff() Function Returns Incorrect Value

   

Access 95 uses a number of Microsoft Office 95 shared files for the implementation of dialogs and toolbars, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 95, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 95 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 95  7.0   (Italian)

Product Summary
Product: Access 95 Version: 7.0 Category:Compliant*
Language: Italian OS: 32-Bit Win Release Date: 01 Sep 1995
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: OLEAUT32.DLL ver. 2.20.4118 or later and Office 95 Year 2000 Software Update
Product Dependencies: Windows 95, or Windows NT 3.51 or greaterSystem clock, OLEAUT32.DLL
Clock Dependencies: System clock, OLEAUT32.DLL
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 95 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

Prerequisite

An Office 95 Year 2000 update is now available that corrects all known Year 2000 related issues in the applications used in Office 95. For more detailed information and to download this update please go to http://officeupdate.microsoft.com/articles/O95y2kfactsheet.htm.

Description of how the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.

Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which forces users to enter dates in a 2-digit format. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.

Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Parsing on date entry. OLEAUT32. 2.20.4054 or higher is required in order for Access 95 to correctly recognize 2-digit date shortcuts as falling within a window between 1930 and 2029. Without that file update, Access assumes that all shortcut dates fall in the current century.


Two-digit shortcut handling:

Microsoft Access 95's interpretation of dates depends on the version OLEAUT32.DLL in the system folder.

If your OLEAUT32.DLL has a version of 2.20.4054 or greater, Access 95 interprets dates entered with an abbreviated year format, to mean the 21st century. Office97 and Windows NT 4.0 install a version of OLEAUT32.DLL that follows these rules.

For more information, see The Automation Libraries and the Year 2000 white paper"

      

1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999


If your version of OLEAUT32.DLL is less than 2.20.4054, Access 95 interprets dates entered with an abbreviated year format to mean the current century in the following way. Windows 95 installs a version of OLEAUT32.DLL that follows these rules.

If the current century is the 20th:
1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999
If the current century is the 21st:
1/1/00 through 12/31/99 are interpreted as 1/1/2000 through 12/31/2099

What are the acceptable deviations?

Dates with two digit years in imported text files are interpreted as falling in the twentieth century.  Users can avoid this behavior by importing the files as text rather than as date type, then setting the field type to date.  Dates at that point will be interpreted using Access's own date window of 1930-2029.  Additionally, database synchronization may fail when spanning the century boundary. This behavior is correction in the Office 95 Year 2000 Software Update.

To determine the version of OLEAUT32.DLL you have:

a) Click on the Start button. Go to Find > Files or Folders
b) Enter Oleaut in Named Section; Choose [C:] to look in
c) Highlight Oleaut 32.dll
d) Click on File > Properties
e) Select the Version tab:

      

If File version is 2.20.4054 or higher the below download is not required.

If File version is less than 2.20.4054, the below download is necessary for Access to follow the 2-digit date window of 1930-2029.

Download OLEAUT32.DLL version 2.20.4118

Common date usage errors:

      

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:
In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely.

The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Microsoft Access within your organization.

Functionality

  

Areas Affected

  

Testing Notes

TransferText, Import/Export

  

Tables, Queries, Forms, Reports, Macros, Modules

  

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

     

  

     

Indexes

  

Tables

  

Date and time values can be indexed, and can require unique values.

     

  

     

Format

  

Tables, Queries, Forms, Reports, Modules

  

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

     

  

     

Input Mask

  

Tables, Queries, Forms, Reports, Modules

  

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

     

  

     

Validation Rule

  

Tables, Queries, Forms

  

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

     

  

     

Aggregate Queries

  

Queries

  

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

     

  

     

Domain Functions

  

Queries, Forms, Reports, Modules

  

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

     

  

     

Insert Date & Time

  

Forms, Reports

  

Inserts a calculated field that uses the Format function on the value of Date().

     

  

     

Charting

  

Forms, Reports

  

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

     

  

     

Calendar Control

  

Forms, Reports, Modules

  

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

     

  

     

Report Grouping

  

Reports

  

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

     

  

     

Day(), Month(), Year(), WeekDay()

  

Queries, Forms, Reports, Modules

  

Parses Date/Time data.

  

 

Date(), Now()

  

Queries, Forms, Reports, Modules

  

Returns Date, and Date and Time

   

     

  

         

DateAdd(), DateDiff()

  

Queries, Forms, Reports, Modules

  

Performs calculations on Date/Time data.

   

     

  

         

LastUpdated, DateCreated properties

  

All database objects

  

Date/Time stamp of last update and object creation, provided by DAO.

   

 

  

         

CDate()

  

Queries, Forms, Reports, Modules

  

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

   

Is there any place to find more information on date related issues for this product?

     

  

How To Articles

  

 

Q162718

  

HOWTO: Prepare Visual Basic Applications for the Year 2000

  

 

Q162745

  

ACC: How to Convert Between Julian Days and Dates

  

 

Q109703

  

ACC: How to Find the Number of Days in a Month

  

 

Q168793

  

HOWTO: Change the Short Date Format from Visual Basic

  

 

Q149127

  

ACC: How to Determine If a Date Falls on a Weekend or Holiday

  

 

Q149095

  

ACC: How to Format Dates Regardless of Regional Settings

  

 

Q141536

  

ACC: How to Convert Short Time Format to Different Formats

  

 

Q132101

  

ACC: How to Get the Fiscal Year/Month of a Particular Date

  

 

Q95907

  

ACC: How to Display Only the Last Two Digits of Any Year

  

 

Q92816

  

ACC: Converting Julian Dates with Visual or Access Basic Code

  

 

Q88657

  

ACC: Functions for Calculating and Displaying Date/Time Values

  

 

Q103138

  

ACC: Function to Get Date of Monday Prior to Current Day

  

 

Q100136

  

ACC: Two Functions to Calculate Age in Months and Years

  

 

     

  

Informational Articles

  

 

Q130514

  

ACC: Storing, Calculating, and Comparing Date/Time Data

  

 

Q98802

  

ACC: Date/Time Data Type Provides Current Year Automatically

  

 

Q155669

  

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

  

 

Q142009

  

ACC: How Windows Regional Settings Affect Microsoft Access

  

 

     

  

Other Date Issues

  

 

Q169156

  

ACC95: DateDiff, DateAdd, or DatePart Causes IPF in VBA232.DLL

  

 

Q149945

  

ACC95: Parameter Query Excludes Ending Date

  

 

Q114832

  

ADT/ODE: Calendar Control Cannot Format Individual Dates

  

 

Q96897

  

ACC: Operation Stops When Editing Attached SQL Tables

  

 

Q160575

  

ACC: Can't Paste Append Using Input Mask Based on Short Date

  

 

Q159323

  

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

  

 

Q142184

  

ACC: Conversion Errors Importing Dates with Different Formats

  

 

Q130580

  

Incorrect Date Value Added to Properties Custom Tab

  

 

Q106290

  

ACC: Using Format() and Month() Returns Incorrect Month

  

 

Q103174

  

ACC: Exporting Date Fields to Text Includes Time Format

  

 

Q173097

  

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

   

Q104973

  

ACC: DateDiff() Function Returns Incorrect Value

   

Access 95 uses a number of Microsoft Office 95 shared files for the implementation of dialogs and toolbars, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 95, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 95 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 95  7.0   (Japanese)

Product Summary
Product: Access 95 Version: 7.0 Category:Compliant*
Language: Japanese OS: 32-Bit Win Release Date: 01 Sep 1995
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: OLEAUT32.DLL ver. 2.20.4054 or later and Office 95 Year 2000 Software Update
Product Dependencies: Windows 95 or Windows NT 3.51 or greater
Clock Dependencies: System clock, OLEAUT32.DLL
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 95 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

An Office 95 Year 2000 update is now available. For more detailed information and to download this update please go to http://www.microsoft.com/japan/Office/OfficeFreeStuff/Office/O95y2k/.

Description of how the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.

Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which forces users to enter dates in a 2-digit format. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.

Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Parsing on date entry. OLEAUT32. 2.20.4054 or higher is required in order for Access 95 to correctly recognize 2-digit date shortcuts as falling within a window between 1930 and 2029. Without that file update, Access assumes that all shortcut dates fall in the current century.

Two-digit shortcut handling:

Microsoft Access 95's interpretation of dates depends on the version OLEAUT32.DLL in the system folder.

If your OLEAUT32.DLL has a version of 2.20.4054 or greater, Access 95 interprets dates entered with an abbreviated year format, to mean the 21st century. Office97 and Windows NT 4.0 install a version of OLEAUT32.DLL that follows these rules.

For more information, see The Automation Libraries and the Year 2000 whitepaper"

      

1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999


If your version of OLEAUT32.DLL is less than 2.20.4054, Access 95 interprets dates entered with an abbreviated year format to mean the current century in the following way. Windows 95 installs a version of OLEAUT32.DLL that follows these rules.

If the current century is the 20th:
1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999
If the current century is the 21st:
1/1/00 through 12/31/99 are interpreted as 1/1/2000 through 12/31/2099

What are the acceptable deviations?

Dates with two digit years in imported text files are interpreted as falling in the twentieth century.  Users can avoid this behavior by importing the files as text rather than as date type, then setting the field type to date.  Dates at that point will be interpreted using Access's own date window of 1930-2029.  Additionally, database synchronization may fail when spanning the century boundary. This behavior is correction in the Office 95 Year 2000 Software Update.

To determine the version of OLEAUT32.DLL you have:

a) Click on the Start button. Go to Find > Files or Folders
b) Enter Oleaut in Named Section; Choose [C:] to look in
c) Highlight Oleaut 32.dll
d) Click on File > Properties
e) Select the Version tab:

      

If File version is 2.20.4054 or higher the below download is not required.

If File version is less than 2.20.4054, the below download is necessary for Access to follow the 2-digit date window of 1930-2029.

Download OLEAUT32.DLL version 2.20.4118
Common date usage errors:

      

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.


Testing guidelines and recommendations:
In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely.

The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Microsoft Access within your organization.

Functionality

  

Areas Affected

  

Testing Notes

TransferText, Import/Export

  

Tables, Queries, Forms, Reports, Macros, Modules

  

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

     

  

     

Indexes

  

Tables

  

Date and time values can be indexed, and can require unique values.

     

  

     

Format

  

Tables, Queries, Forms, Reports, Modules

  

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

     

  

     

Input Mask

  

Tables, Queries, Forms, Reports, Modules

  

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

     

  

     

Validation Rule

  

Tables, Queries, Forms

  

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

     

  

     

Aggregate Queries

  

Queries

  

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

     

  

     

Domain Functions

  

Queries, Forms, Reports, Modules

  

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

     

  

     

Insert Date & Time

  

Forms, Reports

  

Inserts a calculated field that uses the Format function on the value of Date().

     

  

     

Charting

  

Forms, Reports

  

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

     

  

     

Calendar Control

  

Forms, Reports, Modules

  

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

     

  

     

Report Grouping

  

Reports

  

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

     

  

     

Day(), Month(), Year(), WeekDay()

  

Queries, Forms, Reports, Modules

  

Parses Date/Time data.

  

 

Date(), Now()

  

Queries, Forms, Reports, Modules

  

Returns Date, and Date and Time

   

     

  

         

DateAdd(), DateDiff()

  

Queries, Forms, Reports, Modules

  

Performs calculations on Date/Time data.

   

     

  

         

LastUpdated, DateCreated properties

  

All database objects

  

Date/Time stamp of last update and object creation, provided by DAO.

   

 

  

         

CDate()

  

Queries, Forms, Reports, Modules

  

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

   

Is there any place to find more information on date related issues for this product?

     

  

How To Articles

  

 

Q162718

  

HOWTO: Prepare Visual Basic Applications for the Year 2000

  

 

Q162745

  

ACC: How to Convert Between Julian Days and Dates

  

 

Q109703

  

ACC: How to Find the Number of Days in a Month

  

 

Q168793

  

HOWTO: Change the Short Date Format from Visual Basic

  

 

Q149127

  

ACC: How to Determine If a Date Falls on a Weekend or Holiday

  

 

Q149095

  

ACC: How to Format Dates Regardless of Regional Settings

  

 

Q141536

  

ACC: How to Convert Short Time Format to Different Formats

  

 

Q132101

  

ACC: How to Get the Fiscal Year/Month of a Particular Date

  

 

Q95907

  

ACC: How to Display Only the Last Two Digits of Any Year

  

 

Q92816

  

ACC: Converting Julian Dates with Visual or Access Basic Code

  

 

Q88657

  

ACC: Functions for Calculating and Displaying Date/Time Values

  

 

Q103138

  

ACC: Function to Get Date of Monday Prior to Current Day

  

 

Q100136

  

ACC: Two Functions to Calculate Age in Months and Years

  

 

     

  

Informational Articles

  

 

Q130514

  

ACC: Storing, Calculating, and Comparing Date/Time Data

  

 

Q98802

  

ACC: Date/Time Data Type Provides Current Year Automatically

  

 

Q155669

  

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

  

 

Q142009

  

ACC: How Windows Regional Settings Affect Microsoft Access

  

 

     

  

Other Date Issues

  

 

Q169156

  

ACC95: DateDiff, DateAdd, or DatePart Causes IPF in VBA232.DLL

  

 

Q149945

  

ACC95: Parameter Query Excludes Ending Date

  

 

Q114832

  

ADT/ODE: Calendar Control Cannot Format Individual Dates

  

 

Q96897

  

ACC: Operation Stops When Editing Attached SQL Tables

  

 

Q160575

  

ACC: Can't Paste Append Using Input Mask Based on Short Date

  

 

Q159323

  

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

  

 

Q142184

  

ACC: Conversion Errors Importing Dates with Different Formats

  

 

Q130580

  

Incorrect Date Value Added to Properties Custom Tab

  

 

Q106290

  

ACC: Using Format() and Month() Returns Incorrect Month

  

 

Q103174

  

ACC: Exporting Date Fields to Text Includes Time Format

  

 

Q173097

  

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

   

Q104973

  

ACC: DateDiff() Function Returns Incorrect Value

   

Access 95 uses a number of Microsoft Office 95 shared files for the implementation of dialogs and toolbars, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 95, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 95 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 95  7.0   (Korean)

Product Summary
Product: Access 95 Version: 7.0 Category:Compliant*
Language: Korean OS: 32-Bit Win Release Date: 01 Sep 1995
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: OLEAUT32.DLL ver. 2.20.4054 or later and Office 95 Year 2000 Software Update
Product Dependencies: Windows 95 or Windows NT 3.51 or greater
Clock Dependencies: System clock, OLEAUT32.DLL
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 95 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

Prerequisites

An Office 95 Year 2000 update is now available that corrects all known Year 2000 related issues in the applications used in Office 95. For more detailed information and to download this update please go to http://officeupdate.microsoft.com/articles/O95y2kfactsheet.htm.

Description of how the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.

Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which forces users to enter dates in a 2-digit format. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.

Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Parsing on date entry. OLEAUT32. 2.20.4054 or higher is required in order for Access 95 to correctly recognize 2-digit date shortcuts as falling within a window between 1930 and 2029. Without that file update, Access assumes that all shortcut dates fall in the current century.



Two-digit shortcut handling:

Microsoft Access 95's interpretation of dates depends on the version OLEAUT32.DLL in the system folder.

If your OLEAUT32.DLL has a version of 2.20.4054 or greater, Access 95 interprets dates entered with an abbreviated year format, to mean the 21st century. Office97 and Windows NT 4.0 install a version of OLEAUT32.DLL that follows these rules.

For more information, see The Automation Libraries and the Year 2000 whitepaper"

      

1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999


If your version of OLEAUT32.DLL is less than 2.20.4054, Access 95 interprets dates entered with an abbreviated year format to mean the current century in the following way. Windows 95 installs a version of OLEAUT32.DLL that follows these rules.

If the current century is the 20th:
1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999
If the current century is the 21st:
1/1/00 through 12/31/99 are interpreted as 1/1/2000 through 12/31/2099

Why is it Compliant#?

Dates with two digit years in imported text files are interpreted as falling in the twentieth century.  Users can avoid this behavior by importing the files as text rather than as date type, then setting the field type to date.  Dates at that point will be interpreted using Access's own date window of 1930-2029.  Additionally, database synchronization may fail when spanning the century boundary.  


To determine the version of OLEAUT32.DLL you have:

a) Click on the Start button. Go to Find > Files or Folders
b) Enter Oleaut in Named Section; Choose [C:] to look in
c) Highlight Oleaut 32.dll
d) Click on File > Properties
e) Select the Version tab:

      

If File version is 2.20.4054 or higher the below download is not required.

If File version is less than 2.20.4054, the below download is necessary for Access to follow the 2-digit date window of 1930-2029.

Download OLEAUT32.DLL version 2.20.4118
Common date usage errors:

      

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.


Testing guidelines and recommendations:
In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely.

The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Microsoft Access within your organization.

Functionality

  

Areas Affected

  

Testing Notes

TransferText, Import/Export

  

Tables, Queries, Forms, Reports, Macros, Modules

  

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

     

  

     

Indexes

  

Tables

  

Date and time values can be indexed, and can require unique values.

     

  

     

Format

  

Tables, Queries, Forms, Reports, Modules

  

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

     

  

     

Input Mask

  

Tables, Queries, Forms, Reports, Modules

  

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

     

  

     

Validation Rule

  

Tables, Queries, Forms

  

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

     

  

     

Aggregate Queries

  

Queries

  

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

     

  

     

Domain Functions

  

Queries, Forms, Reports, Modules

  

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

     

  

     

Insert Date & Time

  

Forms, Reports

  

Inserts a calculated field that uses the Format function on the value of Date().

     

  

     

Charting

  

Forms, Reports

  

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

     

  

     

Calendar Control

  

Forms, Reports, Modules

  

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

     

  

     

Report Grouping

  

Reports

  

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

     

  

     

Day(), Month(), Year(), WeekDay()

  

Queries, Forms, Reports, Modules

  

Parses Date/Time data.

  

 

Date(), Now()

  

Queries, Forms, Reports, Modules

  

Returns Date, and Date and Time

   

     

  

         

DateAdd(), DateDiff()

  

Queries, Forms, Reports, Modules

  

Performs calculations on Date/Time data.

   

     

  

         

LastUpdated, DateCreated properties

  

All database objects

  

Date/Time stamp of last update and object creation, provided by DAO.

   

 

  

         

CDate()

  

Queries, Forms, Reports, Modules

  

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

   

Is there any place to find more information on date related issues for this product?

     

  

How To Articles

  

 

Q162718

  

HOWTO: Prepare Visual Basic Applications for the Year 2000

  

 

Q162745

  

ACC: How to Convert Between Julian Days and Dates

  

 

Q109703

  

ACC: How to Find the Number of Days in a Month

  

 

Q168793

  

HOWTO: Change the Short Date Format from Visual Basic

  

 

Q149127

  

ACC: How to Determine If a Date Falls on a Weekend or Holiday

  

 

Q149095

  

ACC: How to Format Dates Regardless of Regional Settings

  

 

Q141536

  

ACC: How to Convert Short Time Format to Different Formats

  

 

Q132101

  

ACC: How to Get the Fiscal Year/Month of a Particular Date

  

 

Q95907

  

ACC: How to Display Only the Last Two Digits of Any Year

  

 

Q92816

  

ACC: Converting Julian Dates with Visual or Access Basic Code

  

 

Q88657

  

ACC: Functions for Calculating and Displaying Date/Time Values

  

 

Q103138

  

ACC: Function to Get Date of Monday Prior to Current Day

  

 

Q100136

  

ACC: Two Functions to Calculate Age in Months and Years

  

 

     

  

Informational Articles

  

 

Q130514

  

ACC: Storing, Calculating, and Comparing Date/Time Data

  

 

Q98802

  

ACC: Date/Time Data Type Provides Current Year Automatically

  

 

Q155669

  

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

  

 

Q142009

  

ACC: How Windows Regional Settings Affect Microsoft Access

  

 

     

  

Other Date Issues

  

 

Q169156

  

ACC95: DateDiff, DateAdd, or DatePart Causes IPF in VBA232.DLL

  

 

Q149945

  

ACC95: Parameter Query Excludes Ending Date

  

 

Q114832

  

ADT/ODE: Calendar Control Cannot Format Individual Dates

  

 

Q96897

  

ACC: Operation Stops When Editing Attached SQL Tables

  

 

Q160575

  

ACC: Can't Paste Append Using Input Mask Based on Short Date

  

 

Q159323

  

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

  

 

Q142184

  

ACC: Conversion Errors Importing Dates with Different Formats

  

 

Q130580

  

Incorrect Date Value Added to Properties Custom Tab

  

 

Q106290

  

ACC: Using Format() and Month() Returns Incorrect Month

  

 

Q103174

  

ACC: Exporting Date Fields to Text Includes Time Format

  

 

Q173097

  

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

   

Q104973

  

ACC: DateDiff() Function Returns Incorrect Value

   

Access 95 uses a number of Microsoft Office 95 shared files for the implementation of dialogs and toolbars, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 95, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 95 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 95  7.0   (Norwegian)

Product Summary
Product: Access 95 Version: 7.0 Category:Compliant*
Language: Norwegian OS: 32-Bit Win Release Date: 01 Sep 1995
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: OLEAUT32.DLL ver. 2.20.4054 and Office 95 Year 2000 Software Update
Product Dependencies: Windows 95 or Windows NT 3.51 or greater
Clock Dependencies: System clock, OLEAUT32.DLL
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 95 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

Prerequisite

An Office 95 Year 2000 update is now available that corrects all known Year 2000 related issues in the applications used in Office 95. For more detailed information and to download this update please go to http://officeupdate.microsoft.com/articles/O95y2kfactsheet.htm.

Description of how the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.

Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which forces users to enter dates in a 2-digit format. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.

Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Parsing on date entry. OLEAUT32. 2.20.4054 or higher is required in order for Access 95 to correctly recognize 2-digit date shortcuts as falling within a window between 1930 and 2029. Without that file update, Access assumes that all shortcut dates fall in the current century.


Two-digit shortcut handling:

Microsoft Access 95's interpretation of dates depends on the version OLEAUT32.DLL in the system folder.

If your OLEAUT32.DLL has a version of 2.20.4054 or greater, Access 95 interprets dates entered with an abbreviated year format, to mean the 21st century. Office97 and Windows NT 4.0 install a version of OLEAUT32.DLL that follows these rules.

For more information, see The Automation Libraries and the Year 2000 white paper"

      

1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999


If your version of OLEAUT32.DLL is less than 2.20.4054, Access 95 interprets dates entered with an abbreviated year format to mean the current century in the following way. Windows 95 installs a version of OLEAUT32.DLL that follows these rules.

If the current century is the 20th:
1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999
If the current century is the 21st:
1/1/00 through 12/31/99 are interpreted as 1/1/2000 through 12/31/2099

What are the acceptable deviations?

Dates with two digit years in imported text files are interpreted as falling in the twentieth century.  Users can avoid this behavior by importing the files as text rather than as date type, then setting the field type to date.  Dates at that point will be interpreted using Access's own date window of 1930-2029.  Additionally, database synchronization may fail when spanning the century boundary. This behavior is correction in the Office 95 Year 2000 Software Update.

To determine the version of OLEAUT32.DLL you have:

a) Click on the Start button. Go to Find > Files or Folders
b) Enter Oleaut in Named Section; Choose [C:] to look in
c) Highlight Oleaut 32.dll
d) Click on File > Properties
e) Select the Version tab:

      

If File version is 2.20.4054 or higher the below download is not required.

If File version is less than 2.20.4054, the below download is necessary for Access to follow the 2-digit date window of 1930-2029.

Download OLEAUT32.DLL version 2.20.4118

Common date usage errors:

      

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:
In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely.

The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Microsoft Access within your organization.

Functionality

  

Areas Affected

  

Testing Notes

TransferText, Import/Export

  

Tables, Queries, Forms, Reports, Macros, Modules

  

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

     

  

     

Indexes

  

Tables

  

Date and time values can be indexed, and can require unique values.

     

  

     

Format

  

Tables, Queries, Forms, Reports, Modules

  

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

     

  

     

Input Mask

  

Tables, Queries, Forms, Reports, Modules

  

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

     

  

     

Validation Rule

  

Tables, Queries, Forms

  

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

     

  

     

Aggregate Queries

  

Queries

  

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

     

  

     

Domain Functions

  

Queries, Forms, Reports, Modules

  

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

     

  

     

Insert Date & Time

  

Forms, Reports

  

Inserts a calculated field that uses the Format function on the value of Date().

     

  

     

Charting

  

Forms, Reports

  

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

     

  

     

Calendar Control

  

Forms, Reports, Modules

  

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

     

  

     

Report Grouping

  

Reports

  

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

     

  

     

Day(), Month(), Year(), WeekDay()

  

Queries, Forms, Reports, Modules

  

Parses Date/Time data.

  

 

Date(), Now()

  

Queries, Forms, Reports, Modules

  

Returns Date, and Date and Time

   

     

  

         

DateAdd(), DateDiff()

  

Queries, Forms, Reports, Modules

  

Performs calculations on Date/Time data.

   

     

  

         

LastUpdated, DateCreated properties

  

All database objects

  

Date/Time stamp of last update and object creation, provided by DAO.

   

 

  

         

CDate()

  

Queries, Forms, Reports, Modules

  

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

   

Is there any place to find more information on date related issues for this product?

     

  

How To Articles

  

 

Q162718

  

HOWTO: Prepare Visual Basic Applications for the Year 2000

  

 

Q162745

  

ACC: How to Convert Between Julian Days and Dates

  

 

Q109703

  

ACC: How to Find the Number of Days in a Month

  

 

Q168793

  

HOWTO: Change the Short Date Format from Visual Basic

  

 

Q149127

  

ACC: How to Determine If a Date Falls on a Weekend or Holiday

  

 

Q149095

  

ACC: How to Format Dates Regardless of Regional Settings

  

 

Q141536

  

ACC: How to Convert Short Time Format to Different Formats

  

 

Q132101

  

ACC: How to Get the Fiscal Year/Month of a Particular Date

  

 

Q95907

  

ACC: How to Display Only the Last Two Digits of Any Year

  

 

Q92816

  

ACC: Converting Julian Dates with Visual or Access Basic Code

  

 

Q88657

  

ACC: Functions for Calculating and Displaying Date/Time Values

  

 

Q103138

  

ACC: Function to Get Date of Monday Prior to Current Day

  

 

Q100136

  

ACC: Two Functions to Calculate Age in Months and Years

  

 

     

  

Informational Articles

  

 

Q130514

  

ACC: Storing, Calculating, and Comparing Date/Time Data

  

 

Q98802

  

ACC: Date/Time Data Type Provides Current Year Automatically

  

 

Q155669

  

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

  

 

Q142009

  

ACC: How Windows Regional Settings Affect Microsoft Access

  

 

     

  

Other Date Issues

  

 

Q169156

  

ACC95: DateDiff, DateAdd, or DatePart Causes IPF in VBA232.DLL

  

 

Q149945

  

ACC95: Parameter Query Excludes Ending Date

  

 

Q114832

  

ADT/ODE: Calendar Control Cannot Format Individual Dates

  

 

Q96897

  

ACC: Operation Stops When Editing Attached SQL Tables

  

 

Q160575

  

ACC: Can't Paste Append Using Input Mask Based on Short Date

  

 

Q159323

  

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

  

 

Q142184

  

ACC: Conversion Errors Importing Dates with Different Formats

  

 

Q130580

  

Incorrect Date Value Added to Properties Custom Tab

  

 

Q106290

  

ACC: Using Format() and Month() Returns Incorrect Month

  

 

Q103174

  

ACC: Exporting Date Fields to Text Includes Time Format

  

 

Q173097

  

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

   

Q104973

  

ACC: DateDiff() Function Returns Incorrect Value

   

Access 95 uses a number of Microsoft Office 95 shared files for the implementation of dialogs and toolbars, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 95, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 95 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 95  7.0   (Polish)

Product Summary
Product: Access 95 Version: 7.0 Category:Compliant*
Language: Polish OS: 32-Bit Win Release Date: 01 Sep 1995
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: OLEAUT32.DLL ver. 2.20.4054 or later and Office 95 Year 2000 Software Update
Product Dependencies: Windows 95 or Windows NT 3.51 or greater
Clock Dependencies: System clock, OLEAUT32.DLL
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 95 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

Prerequisite

An Office 95 Year 2000 update is now available that corrects all known Year 2000 related issues in the applications used in Office 95. For more detailed information and to download this update please go to http://officeupdate.microsoft.com/poland/downloadDetails/O95y2k.htm.

Description of how the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.

Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which forces users to enter dates in a 2-digit format. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.

Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Parsing on date entry. OLEAUT32. 2.20.4054 or higher is required in order for Access 95 to correctly recognize 2-digit date shortcuts as falling within a window between 1930 and 2029. Without that file update, Access assumes that all shortcut dates fall in the current century.

Two-digit shortcut handling:

Microsoft Access 95's interpretation of dates depends on the version OLEAUT32.DLL in the system folder.

If your OLEAUT32.DLL has a version of 2.20.4054 or greater, Access 95 interprets dates entered with an abbreviated year format, to mean the 21st century. Office97 and Windows NT 4.0 install a version of OLEAUT32.DLL that follows these rules.

For more information, see The Automation Libraries and the Year 2000 whitepaper"

      

1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999

If your version of OLEAUT32.DLL is less than 2.20.4054, Access 95 interprets dates entered with an abbreviated year format to mean the current century in the following way. Windows 95 installs a version of OLEAUT32.DLL that follows these rules.

If the current century is the 20th:
1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999
If the current century is the 21st:
1/1/00 through 12/31/99 are interpreted as 1/1/2000 through 12/31/2099

What are the acceptable deviations?

Dates with two digit years in imported text files are interpreted as falling in the twentieth century.  Users can avoid this behavior by importing the files as text rather than as date type, then setting the field type to date.  Dates at that point will be interpreted using Access's own date window of 1930-2029.  Additionally, database synchronization may fail when spanning the century boundary. This behavior is correction in the Office 95 Year 2000 Software Update.

To determine the version of OLEAUT32.DLL you have:

a) Click on the Start button. Go to Find > Files or Folders
b) Enter Oleaut in Named Section; Choose [C:] to look in
c) Highlight Oleaut 32.dll
d) Click on File > Properties
e) Select the Version tab:

      

If File version is 2.20.4054 or higher the below download is not required.

If File version is less than 2.20.4054, the below download is necessary for Access to follow the 2-digit date window of 1930-2029.

Download OLEAUT32.DLL version 2.20.4118

Common date usage errors:

      

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:
In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely.

The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Microsoft Access within your organization.

Functionality

  

Areas Affected

  

Testing Notes

TransferText, Import/Export

  

Tables, Queries, Forms, Reports, Macros, Modules

  

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

     

  

     

Indexes

  

Tables

  

Date and time values can be indexed, and can require unique values.

     

  

     

Format

  

Tables, Queries, Forms, Reports, Modules

  

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

     

  

     

Input Mask

  

Tables, Queries, Forms, Reports, Modules

  

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

     

  

     

Validation Rule

  

Tables, Queries, Forms

  

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

     

  

     

Aggregate Queries

  

Queries

  

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

     

  

     

Domain Functions

  

Queries, Forms, Reports, Modules

  

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

     

  

     

Insert Date & Time

  

Forms, Reports

  

Inserts a calculated field that uses the Format function on the value of Date().

     

  

     

Charting

  

Forms, Reports

  

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

     

  

     

Calendar Control

  

Forms, Reports, Modules

  

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

     

  

     

Report Grouping

  

Reports

  

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

     

  

     

Day(), Month(), Year(), WeekDay()

  

Queries, Forms, Reports, Modules

  

Parses Date/Time data.

  

 

Date(), Now()

  

Queries, Forms, Reports, Modules

  

Returns Date, and Date and Time

   

     

  

         

DateAdd(), DateDiff()

  

Queries, Forms, Reports, Modules

  

Performs calculations on Date/Time data.

   

     

  

         

LastUpdated, DateCreated properties

  

All database objects

  

Date/Time stamp of last update and object creation, provided by DAO.

   

 

  

         

CDate()

  

Queries, Forms, Reports, Modules

  

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

   

Is there any place to find more information on date related issues for this product?

     

  

How To Articles

  

 

Q162718

  

HOWTO: Prepare Visual Basic Applications for the Year 2000

  

 

Q162745

  

ACC: How to Convert Between Julian Days and Dates

  

 

Q109703

  

ACC: How to Find the Number of Days in a Month

  

 

Q168793

  

HOWTO: Change the Short Date Format from Visual Basic

  

 

Q149127

  

ACC: How to Determine If a Date Falls on a Weekend or Holiday

  

 

Q149095

  

ACC: How to Format Dates Regardless of Regional Settings

  

 

Q141536

  

ACC: How to Convert Short Time Format to Different Formats

  

 

Q132101

  

ACC: How to Get the Fiscal Year/Month of a Particular Date

  

 

Q95907

  

ACC: How to Display Only the Last Two Digits of Any Year

  

 

Q92816

  

ACC: Converting Julian Dates with Visual or Access Basic Code

  

 

Q88657

  

ACC: Functions for Calculating and Displaying Date/Time Values

  

 

Q103138

  

ACC: Function to Get Date of Monday Prior to Current Day

  

 

Q100136

  

ACC: Two Functions to Calculate Age in Months and Years

  

 

     

  

Informational Articles

  

 

Q130514

  

ACC: Storing, Calculating, and Comparing Date/Time Data

  

 

Q98802

  

ACC: Date/Time Data Type Provides Current Year Automatically

  

 

Q155669

  

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

  

 

Q142009

  

ACC: How Windows Regional Settings Affect Microsoft Access

  

 

     

  

Other Date Issues

  

 

Q169156

  

ACC95: DateDiff, DateAdd, or DatePart Causes IPF in VBA232.DLL

  

 

Q149945

  

ACC95: Parameter Query Excludes Ending Date

  

 

Q114832

  

ADT/ODE: Calendar Control Cannot Format Individual Dates

  

 

Q96897

  

ACC: Operation Stops When Editing Attached SQL Tables

  

 

Q160575

  

ACC: Can't Paste Append Using Input Mask Based on Short Date

  

 

Q159323

  

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

  

 

Q142184

  

ACC: Conversion Errors Importing Dates with Different Formats

  

 

Q130580

  

Incorrect Date Value Added to Properties Custom Tab

  

 

Q106290

  

ACC: Using Format() and Month() Returns Incorrect Month

  

 

Q103174

  

ACC: Exporting Date Fields to Text Includes Time Format

  

 

Q173097

  

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

   

Q104973

  

ACC: DateDiff() Function Returns Incorrect Value

   

Access 95 uses a number of Microsoft Office 95 shared files for the implementation of dialogs and toolbars, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 95, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 95 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 95  7.0   (Portuguese (Brazil))

Product Summary
Product: Access 95 Version: 7.0 Category:Compliant*
Language: Portuguese (Brazil) OS: 32-Bit Win Release Date: 01 Sep 1995
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: OLEAUT32.DLL ver. 22.20.4054 or later and Office 95 Year 2000 Software Update
Product Dependencies: Windows 95 or Windows NT 3.51 or greater
Clock Dependencies: System clock, OLEAUT32.DLL
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 95 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

Prerequisite

An Office 95 Year 2000 update is now available that corrects all known Year 2000 related issues in the applications used in Office 95. For more detailed information and to download this update please go to http://officeupdate.microsoft.com/Brasil/downloadDetails/O95y2k.htm.

Description of how the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.

Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which forces users to enter dates in a 2-digit format. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.

Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Parsing on date entry. OLEAUT32. 2.20.4054 or higher is required in order for Access 95 to correctly recognize 2-digit date shortcuts as falling within a window between 1930 and 2029. Without that file update, Access assumes that all shortcut dates fall in the current century.

Two-digit shortcut handling:

Microsoft Access 95's interpretation of dates depends on the version OLEAUT32.DLL in the system folder.

If your OLEAUT32.DLL has a version of 2.20.4054 or greater, Access 95 interprets dates entered with an abbreviated year format, to mean the 21st century. Office97 and Windows NT 4.0 install a version of OLEAUT32.DLL that follows these rules.

For more information, see The Automation Libraries and the Year 2000 whitepaper"

      

1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999

If your version of OLEAUT32.DLL is less than 2.20.4054, Access 95 interprets dates entered with an abbreviated year format to mean the current century in the following way. Windows 95 installs a version of OLEAUT32.DLL that follows these rules.

If the current century is the 20th:
1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999
If the current century is the 21st:
1/1/00 through 12/31/99 are interpreted as 1/1/2000 through 12/31/2099

What are the acceptable deviations?

Dates with two digit years in imported text files are interpreted as falling in the twentieth century.  Users can avoid this behavior by importing the files as text rather than as date type, then setting the field type to date.  Dates at that point will be interpreted using Access's own date window of 1930-2029.  Additionally, database synchronization may fail when spanning the century boundary. This behavior is correction in the Office 95 Year 2000 Software Update.

To determine the version of OLEAUT32.DLL you have:

a) Click on the Start button. Go to Find > Files or Folders
b) Enter Oleaut in Named Section; Choose [C:] to look in
c) Highlight Oleaut 32.dll
d) Click on File > Properties
e) Select the Version tab:

      

If File version is 2.20.4054 or higher the below download is not required.

If File version is less than 2.20.4054, the below download is necessary for Access to follow the 2-digit date window of 1930-2029.

Download OLEAUT32.DLL version 2.20.4118

Common date usage errors:

      

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:
In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely.

The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Microsoft Access within your organization.

Functionality

  

Areas Affected

  

Testing Notes

TransferText, Import/Export

  

Tables, Queries, Forms, Reports, Macros, Modules

  

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

     

  

     

Indexes

  

Tables

  

Date and time values can be indexed, and can require unique values.

     

  

     

Format

  

Tables, Queries, Forms, Reports, Modules

  

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

     

  

     

Input Mask

  

Tables, Queries, Forms, Reports, Modules

  

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

     

  

     

Validation Rule

  

Tables, Queries, Forms

  

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

     

  

     

Aggregate Queries

  

Queries

  

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

     

  

     

Domain Functions

  

Queries, Forms, Reports, Modules

  

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

     

  

     

Insert Date & Time

  

Forms, Reports

  

Inserts a calculated field that uses the Format function on the value of Date().

     

  

     

Charting

  

Forms, Reports

  

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

     

  

     

Calendar Control

  

Forms, Reports, Modules

  

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

     

  

     

Report Grouping

  

Reports

  

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

     

  

     

Day(), Month(), Year(), WeekDay()

  

Queries, Forms, Reports, Modules

  

Parses Date/Time data.

  

 

Date(), Now()

  

Queries, Forms, Reports, Modules

  

Returns Date, and Date and Time

   

     

  

         

DateAdd(), DateDiff()

  

Queries, Forms, Reports, Modules

  

Performs calculations on Date/Time data.

   

     

  

         

LastUpdated, DateCreated properties

  

All database objects

  

Date/Time stamp of last update and object creation, provided by DAO.

   

 

  

         

CDate()

  

Queries, Forms, Reports, Modules

  

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

   

Is there any place to find more information on date related issues for this product?

     

  

How To Articles

  

 

Q162718

  

HOWTO: Prepare Visual Basic Applications for the Year 2000

  

 

Q162745

  

ACC: How to Convert Between Julian Days and Dates

  

 

Q109703

  

ACC: How to Find the Number of Days in a Month

  

 

Q168793

  

HOWTO: Change the Short Date Format from Visual Basic

  

 

Q149127

  

ACC: How to Determine If a Date Falls on a Weekend or Holiday

  

 

Q149095

  

ACC: How to Format Dates Regardless of Regional Settings

  

 

Q141536

  

ACC: How to Convert Short Time Format to Different Formats

  

 

Q132101

  

ACC: How to Get the Fiscal Year/Month of a Particular Date

  

 

Q95907

  

ACC: How to Display Only the Last Two Digits of Any Year

  

 

Q92816

  

ACC: Converting Julian Dates with Visual or Access Basic Code

  

 

Q88657

  

ACC: Functions for Calculating and Displaying Date/Time Values

  

 

Q103138

  

ACC: Function to Get Date of Monday Prior to Current Day

  

 

Q100136

  

ACC: Two Functions to Calculate Age in Months and Years

  

 

     

  

Informational Articles

  

 

Q130514

  

ACC: Storing, Calculating, and Comparing Date/Time Data

  

 

Q98802

  

ACC: Date/Time Data Type Provides Current Year Automatically

  

 

Q155669

  

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

  

 

Q142009

  

ACC: How Windows Regional Settings Affect Microsoft Access

  

 

     

  

Other Date Issues

  

 

Q169156

  

ACC95: DateDiff, DateAdd, or DatePart Causes IPF in VBA232.DLL

  

 

Q149945

  

ACC95: Parameter Query Excludes Ending Date

  

 

Q114832

  

ADT/ODE: Calendar Control Cannot Format Individual Dates

  

 

Q96897

  

ACC: Operation Stops When Editing Attached SQL Tables

  

 

Q160575

  

ACC: Can't Paste Append Using Input Mask Based on Short Date

  

 

Q159323

  

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

  

 

Q142184

  

ACC: Conversion Errors Importing Dates with Different Formats

  

 

Q130580

  

Incorrect Date Value Added to Properties Custom Tab

  

 

Q106290

  

ACC: Using Format() and Month() Returns Incorrect Month

  

 

Q103174

  

ACC: Exporting Date Fields to Text Includes Time Format

  

 

Q173097

  

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

   

Q104973

  

ACC: DateDiff() Function Returns Incorrect Value

   

Access 95 uses a number of Microsoft Office 95 shared files for the implementation of dialogs and toolbars, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 95, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 95 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 95  7.0   (Portuguese)

Product Summary
Product: Access 95 Version: 7.0 Category:Compliant*
Language: Portuguese OS: 32-Bit Win Release Date: 01 Sep 1995
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: OLEAUT32.DLL ver. 2.20.4054 or later and Office 95 Year 2000 Software Update
Product Dependencies: Windows 95 or Windows NT 3.51 or greater
Clock Dependencies: System clock, OLEAUT32.DLL
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 95 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

Prerequisite

An Office 95 Year 2000 update is now available that corrects all known Year 2000 related issues in the applications used in Office 95. For more detailed information and to download this update please go to http://officeupdate.microsoft.com/Portugal/downloadDetails/O95y2k.htm.

Description of how the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.

Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which forces users to enter dates in a 2-digit format. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.

Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Parsing on date entry. OLEAUT32. 2.20.4054 or higher is required in order for Access 95 to correctly recognize 2-digit date shortcuts as falling within a window between 1930 and 2029. Without that file update, Access assumes that all shortcut dates fall in the current century.

Two-digit shortcut handling:

Microsoft Access 95's interpretation of dates depends on the version OLEAUT32.DLL in the system folder.

If your OLEAUT32.DLL has a version of 2.20.4054 or greater, Access 95 interprets dates entered with an abbreviated year format, to mean the 21st century. Office97 and Windows NT 4.0 install a version of OLEAUT32.DLL that follows these rules.

For more information, see The Automation Libraries and the Year 2000 whitepaper"

      

1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999

If your version of OLEAUT32.DLL is less than 2.20.4054, Access 95 interprets dates entered with an abbreviated year format to mean the current century in the following way. Windows 95 installs a version of OLEAUT32.DLL that follows these rules.

If the current century is the 20th:
1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999
If the current century is the 21st:
1/1/00 through 12/31/99 are interpreted as 1/1/2000 through 12/31/2099

What are the acceptable deviations?

Dates with two digit years in imported text files are interpreted as falling in the twentieth century.  Users can avoid this behavior by importing the files as text rather than as date type, then setting the field type to date.  Dates at that point will be interpreted using Access's own date window of 1930-2029.  Additionally, database synchronization may fail when spanning the century boundary. This behavior is correction in the Office 95 Year 2000 Software Update.

To determine the version of OLEAUT32.DLL you have:

a) Click on the Start button. Go to Find > Files or Folders
b) Enter Oleaut in Named Section; Choose [C:] to look in
c) Highlight Oleaut 32.dll
d) Click on File > Properties
e) Select the Version tab:

      

If File version is 2.20.4054 or higher the below download is not required.

If File version is less than 2.20.4054, the below download is necessary for Access to follow the 2-digit date window of 1930-2029.

Download OLEAUT32.DLL version 2.20.4118

Common date usage errors:

      

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:
In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely.

The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Microsoft Access within your organization.

Functionality

  

Areas Affected

  

Testing Notes

TransferText, Import/Export

  

Tables, Queries, Forms, Reports, Macros, Modules

  

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

     

  

     

Indexes

  

Tables

  

Date and time values can be indexed, and can require unique values.

     

  

     

Format

  

Tables, Queries, Forms, Reports, Modules

  

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

     

  

     

Input Mask

  

Tables, Queries, Forms, Reports, Modules

  

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

     

  

     

Validation Rule

  

Tables, Queries, Forms

  

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

     

  

     

Aggregate Queries

  

Queries

  

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

     

  

     

Domain Functions

  

Queries, Forms, Reports, Modules

  

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

     

  

     

Insert Date & Time

  

Forms, Reports

  

Inserts a calculated field that uses the Format function on the value of Date().

     

  

     

Charting

  

Forms, Reports

  

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

     

  

     

Calendar Control

  

Forms, Reports, Modules

  

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

     

  

     

Report Grouping

  

Reports

  

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

     

  

     

Day(), Month(), Year(), WeekDay()

  

Queries, Forms, Reports, Modules

  

Parses Date/Time data.

  

 

Date(), Now()

  

Queries, Forms, Reports, Modules

  

Returns Date, and Date and Time

   

     

  

         

DateAdd(), DateDiff()

  

Queries, Forms, Reports, Modules

  

Performs calculations on Date/Time data.

   

     

  

         

LastUpdated, DateCreated properties

  

All database objects

  

Date/Time stamp of last update and object creation, provided by DAO.

   

 

  

         

CDate()

  

Queries, Forms, Reports, Modules

  

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

   

Is there any place to find more information on date related issues for this product?

     

  

How To Articles

  

 

Q162718

  

HOWTO: Prepare Visual Basic Applications for the Year 2000

  

 

Q162745

  

ACC: How to Convert Between Julian Days and Dates

  

 

Q109703

  

ACC: How to Find the Number of Days in a Month

  

 

Q168793

  

HOWTO: Change the Short Date Format from Visual Basic

  

 

Q149127

  

ACC: How to Determine If a Date Falls on a Weekend or Holiday

  

 

Q149095

  

ACC: How to Format Dates Regardless of Regional Settings

  

 

Q141536

  

ACC: How to Convert Short Time Format to Different Formats

  

 

Q132101

  

ACC: How to Get the Fiscal Year/Month of a Particular Date

  

 

Q95907

  

ACC: How to Display Only the Last Two Digits of Any Year

  

 

Q92816

  

ACC: Converting Julian Dates with Visual or Access Basic Code

  

 

Q88657

  

ACC: Functions for Calculating and Displaying Date/Time Values

  

 

Q103138

  

ACC: Function to Get Date of Monday Prior to Current Day

  

 

Q100136

  

ACC: Two Functions to Calculate Age in Months and Years

  

 

     

  

Informational Articles

  

 

Q130514

  

ACC: Storing, Calculating, and Comparing Date/Time Data

  

 

Q98802

  

ACC: Date/Time Data Type Provides Current Year Automatically

  

 

Q155669

  

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

  

 

Q142009

  

ACC: How Windows Regional Settings Affect Microsoft Access

  

 

     

  

Other Date Issues

  

 

Q169156

  

ACC95: DateDiff, DateAdd, or DatePart Causes IPF in VBA232.DLL

  

 

Q149945

  

ACC95: Parameter Query Excludes Ending Date

  

 

Q114832

  

ADT/ODE: Calendar Control Cannot Format Individual Dates

  

 

Q96897

  

ACC: Operation Stops When Editing Attached SQL Tables

  

 

Q160575

  

ACC: Can't Paste Append Using Input Mask Based on Short Date

  

 

Q159323

  

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

  

 

Q142184

  

ACC: Conversion Errors Importing Dates with Different Formats

  

 

Q130580

  

Incorrect Date Value Added to Properties Custom Tab

  

 

Q106290

  

ACC: Using Format() and Month() Returns Incorrect Month

  

 

Q103174

  

ACC: Exporting Date Fields to Text Includes Time Format

  

 

Q173097

  

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

   

Q104973

  

ACC: DateDiff() Function Returns Incorrect Value

   

Access 95 uses a number of Microsoft Office 95 shared files for the implementation of dialogs and toolbars, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 95, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 95 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 95  7.0   (Russian)

Product Summary
Product: Access 95 Version: 7.0 Category:Compliant*
Language: Russian OS: 32-Bit Win Release Date: 01 Sep 1995
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: OLEAUT32.DLL ver. 2.20.4054 or later and Office 95 Year 2000 Software Update
Product Dependencies: Windows 95 or Windows NT 3.51 or greater
Clock Dependencies: System clock, OLEAUT32.DLL
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 95 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

Prerequisite

An Office 95 Year 2000 update is now available that corrects all known Year 2000 related issues in the applications used in Office 95. For more detailed information and to download this update please go to http://officeupdate.microsoft.com/rus/downloadDetails/O95y2k.htm.

Description of how the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.

Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which forces users to enter dates in a 2-digit format. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.

Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Parsing on date entry. OLEAUT32. 2.20.4054 or higher is required in order for Access 95 to correctly recognize 2-digit date shortcuts as falling within a window between 1930 and 2029. Without that file update, Access assumes that all shortcut dates fall in the current century.

Two-digit shortcut handling:

Microsoft Access 95's interpretation of dates depends on the version OLEAUT32.DLL in the system folder.

If your OLEAUT32.DLL has a version of 2.20.4054 or greater, Access 95 interprets dates entered with an abbreviated year format, to mean the 21st century. Office97 and Windows NT 4.0 install a version of OLEAUT32.DLL that follows these rules.

For more information, see The Automation Libraries and the Year 2000 whitepaper"

      

1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999

If your version of OLEAUT32.DLL is less than 2.20.4054, Access 95 interprets dates entered with an abbreviated year format to mean the current century in the following way. Windows 95 installs a version of OLEAUT32.DLL that follows these rules.

If the current century is the 20th:
1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999
If the current century is the 21st:
1/1/00 through 12/31/99 are interpreted as 1/1/2000 through 12/31/2099

What are the acceptable deviations?

Dates with two digit years in imported text files are interpreted as falling in the twentieth century.  Users can avoid this behavior by importing the files as text rather than as date type, then setting the field type to date.  Dates at that point will be interpreted using Access's own date window of 1930-2029.  Additionally, database synchronization may fail when spanning the century boundary. This behavior is correction in the Office 95 Year 2000 Software Update. This behavior is correction in the Office 95 Year 2000 Software Update.

To determine the version of OLEAUT32.DLL you have:

a) Click on the Start button. Go to Find > Files or Folders
b) Enter Oleaut in Named Section; Choose [C:] to look in
c) Highlight Oleaut 32.dll
d) Click on File > Properties
e) Select the Version tab:

      

If File version is 2.20.4054 or higher the below download is not required.

If File version is less than 2.20.4054, the below download is necessary for Access to follow the 2-digit date window of 1930-2029.

Download OLEAUT32.DLL version 2.20.4118

Common date usage errors:

      

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:
In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely.

The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Microsoft Access within your organization.

Functionality

  

Areas Affected

  

Testing Notes

TransferText, Import/Export

  

Tables, Queries, Forms, Reports, Macros, Modules

  

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

     

  

     

Indexes

  

Tables

  

Date and time values can be indexed, and can require unique values.

     

  

     

Format

  

Tables, Queries, Forms, Reports, Modules

  

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

     

  

     

Input Mask

  

Tables, Queries, Forms, Reports, Modules

  

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

     

  

     

Validation Rule

  

Tables, Queries, Forms

  

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

     

  

     

Aggregate Queries

  

Queries

  

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

     

  

     

Domain Functions

  

Queries, Forms, Reports, Modules

  

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

     

  

     

Insert Date & Time

  

Forms, Reports

  

Inserts a calculated field that uses the Format function on the value of Date().

     

  

     

Charting

  

Forms, Reports

  

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

     

  

     

Calendar Control

  

Forms, Reports, Modules

  

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

     

  

     

Report Grouping

  

Reports

  

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

     

  

     

Day(), Month(), Year(), WeekDay()

  

Queries, Forms, Reports, Modules

  

Parses Date/Time data.

  

 

Date(), Now()

  

Queries, Forms, Reports, Modules

  

Returns Date, and Date and Time

   

     

  

         

DateAdd(), DateDiff()

  

Queries, Forms, Reports, Modules

  

Performs calculations on Date/Time data.

   

     

  

         

LastUpdated, DateCreated properties

  

All database objects

  

Date/Time stamp of last update and object creation, provided by DAO.

   

 

  

         

CDate()

  

Queries, Forms, Reports, Modules

  

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

   

Is there any place to find more information on date related issues for this product?

     

  

How To Articles

  

 

Q162718

  

HOWTO: Prepare Visual Basic Applications for the Year 2000

  

 

Q162745

  

ACC: How to Convert Between Julian Days and Dates

  

 

Q109703

  

ACC: How to Find the Number of Days in a Month

  

 

Q168793

  

HOWTO: Change the Short Date Format from Visual Basic

  

 

Q149127

  

ACC: How to Determine If a Date Falls on a Weekend or Holiday

  

 

Q149095

  

ACC: How to Format Dates Regardless of Regional Settings

  

 

Q141536

  

ACC: How to Convert Short Time Format to Different Formats

  

 

Q132101

  

ACC: How to Get the Fiscal Year/Month of a Particular Date

  

 

Q95907

  

ACC: How to Display Only the Last Two Digits of Any Year

  

 

Q92816

  

ACC: Converting Julian Dates with Visual or Access Basic Code

  

 

Q88657

  

ACC: Functions for Calculating and Displaying Date/Time Values

  

 

Q103138

  

ACC: Function to Get Date of Monday Prior to Current Day

  

 

Q100136

  

ACC: Two Functions to Calculate Age in Months and Years

  

 

     

  

Informational Articles

  

 

Q130514

  

ACC: Storing, Calculating, and Comparing Date/Time Data

  

 

Q98802

  

ACC: Date/Time Data Type Provides Current Year Automatically

  

 

Q155669

  

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

  

 

Q142009

  

ACC: How Windows Regional Settings Affect Microsoft Access

  

 

     

  

Other Date Issues

  

 

Q169156

  

ACC95: DateDiff, DateAdd, or DatePart Causes IPF in VBA232.DLL

  

 

Q149945

  

ACC95: Parameter Query Excludes Ending Date

  

 

Q114832

  

ADT/ODE: Calendar Control Cannot Format Individual Dates

  

 

Q96897

  

ACC: Operation Stops When Editing Attached SQL Tables

  

 

Q160575

  

ACC: Can't Paste Append Using Input Mask Based on Short Date

  

 

Q159323

  

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

  

 

Q142184

  

ACC: Conversion Errors Importing Dates with Different Formats

  

 

Q130580

  

Incorrect Date Value Added to Properties Custom Tab

  

 

Q106290

  

ACC: Using Format() and Month() Returns Incorrect Month

  

 

Q103174

  

ACC: Exporting Date Fields to Text Includes Time Format

  

 

Q173097

  

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

   

Q104973

  

ACC: DateDiff() Function Returns Incorrect Value

   

Access 95 uses a number of Microsoft Office 95 shared files for the implementation of dialogs and toolbars, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 95, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 95 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 95  7.0   (Slovenian)

Product Summary
Product: Access 95 Version: 7.0 Category:Compliant*+
Language: Slovenian OS: 32-Bit Win Release Date: N/A
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: OLEAUT32.DLL ver. 2.20.4118 or later (see below to download)
Product Dependencies: Windows 95 or Windows NT 3.51 or greater
Clock Dependencies: System clock, OLEAUT32.DLL
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 95 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

Prerequisite

An Office 95 Year 2000 update is now available that corrects all known Year 2000 related issues in the applications used in Office 95. For more detailed information and to download this update please go to http://officeupdate.microsoft.com/articles/O95y2kfactsheet.htm.

Description of how the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.

Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which forces users to enter dates in a 2-digit format. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.

Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Parsing on date entry. OLEAUT32. 2.20.4054 or higher is required in order for Access 95 to correctly recognize 2-digit date shortcuts as falling within a window between 1930 and 2029. Without that file update, Access assumes that all shortcut dates fall in the current century.


Two-digit shortcut handling:

Microsoft Access 95's interpretation of dates depends on the version OLEAUT32.DLL in the system folder.

If your OLEAUT32.DLL has a version of 2.20.4054 or greater, Access 95 interprets dates entered with an abbreviated year format, to mean the 21st century. Office97 and Windows NT 4.0 install a version of OLEAUT32.DLL that follows these rules.

For more information, see The Automation Libraries and the Year 2000 white paper"

      

1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999


If your version of OLEAUT32.DLL is less than 2.20.4054, Access 95 interprets dates entered with an abbreviated year format to mean the current century in the following way. Windows 95 installs a version of OLEAUT32.DLL that follows these rules.

If the current century is the 20th:
1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999
If the current century is the 21st:
1/1/00 through 12/31/99 are interpreted as 1/1/2000 through 12/31/2099

What are the acceptable deviations?

Dates with two digit years in imported text files are interpreted as falling in the twentieth century.  Users can avoid this behavior by importing the files as text rather than as date type, then setting the field type to date.  Dates at that point will be interpreted using Access's own date window of 1930-2029.  Additionally, database synchronization may fail when spanning the century boundary. This behavior is correction in the Office 95 Year 2000 Software Update.

To determine the version of OLEAUT32.DLL you have:

a) Click on the Start button. Go to Find > Files or Folders
b) Enter Oleaut in Named Section; Choose [C:] to look in
c) Highlight Oleaut 32.dll
d) Click on File > Properties
e) Select the Version tab:

      

If File version is 2.20.4054 or higher the below download is not required.

If File version is less than 2.20.4054, the below download is necessary for Access to follow the 2-digit date window of 1930-2029.

Download OLEAUT32.DLL version 2.20.4118

Common date usage errors:

      

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:
In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely.

The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Microsoft Access within your organization.

Functionality

  

Areas Affected

  

Testing Notes

TransferText, Import/Export

  

Tables, Queries, Forms, Reports, Macros, Modules

  

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

     

  

     

Indexes

  

Tables

  

Date and time values can be indexed, and can require unique values.

     

  

     

Format

  

Tables, Queries, Forms, Reports, Modules

  

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

     

  

     

Input Mask

  

Tables, Queries, Forms, Reports, Modules

  

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

     

  

     

Validation Rule

  

Tables, Queries, Forms

  

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

     

  

     

Aggregate Queries

  

Queries

  

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

     

  

     

Domain Functions

  

Queries, Forms, Reports, Modules

  

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

     

  

     

Insert Date & Time

  

Forms, Reports

  

Inserts a calculated field that uses the Format function on the value of Date().

     

  

     

Charting

  

Forms, Reports

  

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

     

  

     

Calendar Control

  

Forms, Reports, Modules

  

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

     

  

     

Report Grouping

  

Reports

  

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

     

  

     

Day(), Month(), Year(), WeekDay()

  

Queries, Forms, Reports, Modules

  

Parses Date/Time data.

  

 

Date(), Now()

  

Queries, Forms, Reports, Modules

  

Returns Date, and Date and Time

   

     

  

         

DateAdd(), DateDiff()

  

Queries, Forms, Reports, Modules

  

Performs calculations on Date/Time data.

   

     

  

         

LastUpdated, DateCreated properties

  

All database objects

  

Date/Time stamp of last update and object creation, provided by DAO.

   

 

  

         

CDate()

  

Queries, Forms, Reports, Modules

  

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

   

Is there any place to find more information on date related issues for this product?

     

  

How To Articles

  

 

Q162718

  

HOWTO: Prepare Visual Basic Applications for the Year 2000

  

 

Q162745

  

ACC: How to Convert Between Julian Days and Dates

  

 

Q109703

  

ACC: How to Find the Number of Days in a Month

  

 

Q168793

  

HOWTO: Change the Short Date Format from Visual Basic

  

 

Q149127

  

ACC: How to Determine If a Date Falls on a Weekend or Holiday

  

 

Q149095

  

ACC: How to Format Dates Regardless of Regional Settings

  

 

Q141536

  

ACC: How to Convert Short Time Format to Different Formats

  

 

Q132101

  

ACC: How to Get the Fiscal Year/Month of a Particular Date

  

 

Q95907

  

ACC: How to Display Only the Last Two Digits of Any Year

  

 

Q92816

  

ACC: Converting Julian Dates with Visual or Access Basic Code

  

 

Q88657

  

ACC: Functions for Calculating and Displaying Date/Time Values

  

 

Q103138

  

ACC: Function to Get Date of Monday Prior to Current Day

  

 

Q100136

  

ACC: Two Functions to Calculate Age in Months and Years

  

 

     

  

Informational Articles

  

 

Q130514

  

ACC: Storing, Calculating, and Comparing Date/Time Data

  

 

Q98802

  

ACC: Date/Time Data Type Provides Current Year Automatically

  

 

Q155669

  

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

  

 

Q142009

  

ACC: How Windows Regional Settings Affect Microsoft Access

  

 

     

  

Other Date Issues

  

 

Q169156

  

ACC95: DateDiff, DateAdd, or DatePart Causes IPF in VBA232.DLL

  

 

Q149945

  

ACC95: Parameter Query Excludes Ending Date

  

 

Q114832

  

ADT/ODE: Calendar Control Cannot Format Individual Dates

  

 

Q96897

  

ACC: Operation Stops When Editing Attached SQL Tables

  

 

Q160575

  

ACC: Can't Paste Append Using Input Mask Based on Short Date

  

 

Q159323

  

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

  

 

Q142184

  

ACC: Conversion Errors Importing Dates with Different Formats

  

 

Q130580

  

Incorrect Date Value Added to Properties Custom Tab

  

 

Q106290

  

ACC: Using Format() and Month() Returns Incorrect Month

  

 

Q103174

  

ACC: Exporting Date Fields to Text Includes Time Format

  

 

Q173097

  

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

   

Q104973

  

ACC: DateDiff() Function Returns Incorrect Value

   

Access 95 uses a number of Microsoft Office 95 shared files for the implementation of dialogs and toolbars, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 95, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 95 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 95  7.0   (Spanish)

Product Summary
Product: Access 95 Version: 7.0 Category:Compliant*
Language: Spanish OS: 32-Bit Win Release Date: 01 Sep 1995
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: OLEAUT32.DLL ver. 2.20.4118 or later and Office 95 Year 2000 Software Update
Product Dependencies: Windows 95 or Windows NT 3.51 or greater
Clock Dependencies: System clock, OLEAUT32.DLL
Last Updated: 29 Sep 1999
Product Details


Description of how the product handles dates:

      

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.

Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which forces users to enter dates in a 2-digit format. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.

Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Parsing on date entry. OLEAUT32. 2.20.4118 or higher is required in order for Access 95 to correctly recognize 2-digit date shortcuts as falling within a window between 1930 and 2029. Without that file update, Access assumes that all shortcut dates fall in the current century.

Two-digit shortcut handling:

Microsoft Access 95's interpretation of dates depends on the version OLEAUT32.DLL in the system folder.

If your OLEAUT32.DLL has a version of 2.20.4118 or greater, Access 95 interprets dates entered with an abbreviated year format, to mean the 21st century. Office97 and Windows NT 4.0 install a version of OLEAUT32.DLL that follows these rules.

      

1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999

If your version of OLEAUT32.DLL is less than 2.20.4118, Access 95 interprets dates entered with an abbreviated year format to mean the current century in the following way. Windows 95 installs a version of OLEAUT32.DLL that follows these rules.

If the current century is the 20th:
1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999
If the current century is the 21st:
1/1/00 through 12/31/99 are interpreted as 1/1/2000 through 12/31/2099

What are the acceptable deviations?

Dates with two digit years in imported text files are interpreted as falling in the twentieth century.  Users can avoid this behavior by importing the files as text rather than as date type, then setting the field type to date.  Dates at that point will be interpreted using Access's own date window of 1930-2029.  Additionally, database synchronization may fail when spanning the century boundary. This behavior is correction in the Office 95 Year 2000 Software Update. 

To determine the version of OLEAUT32.DLL you have:

      

a) Click on the Start button. Go to Find > Files or Folders
b) Enter Oleaut in Named Section; Choose [C:] to look in
c) Highlight Oleaut 32.dll
d) Click on File > Properties
e) Select the Version tab:

      

If File version is 2.20.4118 or higher the below download is not required.

If File version is less than 2.20.4118, the below download is necessary for Access to follow the 2-digit date window of 1930-2029.

Download OLEAUT32.DLL version 2.20.4118
Common date usage errors:

      

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.


Testing guidelines and recommendations:
In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely.

The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Microsoft Access within your organization.

Functionality

  

Areas Affected

  

Testing Notes

TransferText, Import/Export

  

Tables, Queries, Forms, Reports, Macros, Modules

  

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

     

  

     

Indexes

  

Tables

  

Date and time values can be indexed, and can require unique values.

     

  

     

Format

  

Tables, Queries, Forms, Reports, Modules

  

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

     

  

     

Input Mask

  

Tables, Queries, Forms, Reports, Modules

  

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

     

  

     

Validation Rule

  

Tables, Queries, Forms

  

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

     

  

     

Aggregate Queries

  

Queries

  

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

     

  

     

Domain Functions

  

Queries, Forms, Reports, Modules

  

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

     

  

     

Insert Date & Time

  

Forms, Reports

  

Inserts a calculated field that uses the Format function on the value of Date().

     

  

     

Charting

  

Forms, Reports

  

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

     

  

     

Calendar Control

  

Forms, Reports, Modules

  

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

     

  

     

Report Grouping

  

Reports

  

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

     

  

     

Day(), Month(), Year(), WeekDay()

  

Queries, Forms, Reports, Modules

  

Parses Date/Time data.

  

 

Date(), Now()

  

Queries, Forms, Reports, Modules

  

Returns Date, and Date and Time

   

     

  

         

DateAdd(), DateDiff()

  

Queries, Forms, Reports, Modules

  

Performs calculations on Date/Time data.

   

     

  

         

LastUpdated, DateCreated properties

  

All database objects

  

Date/Time stamp of last update and object creation, provided by DAO.

   

 

  

         

CDate()

  

Queries, Forms, Reports, Modules

  

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

   

     

  

         

Is there any place to find more information on date related issues for this product?

     

  

How To Articles

  

 

Q162718

  

HOWTO: Prepare Visual Basic Applications for the Year 2000

  

 

Q162745

  

ACC: How to Convert Between Julian Days and Dates

  

 

Q109703

  

ACC: How to Find the Number of Days in a Month

  

 

Q168793

  

HOWTO: Change the Short Date Format from Visual Basic

  

 

Q149127

  

ACC: How to Determine If a Date Falls on a Weekend or Holiday

  

 

Q149095

  

ACC: How to Format Dates Regardless of Regional Settings

  

 

Q141536

  

ACC: How to Convert Short Time Format to Different Formats

  

 

Q132101

  

ACC: How to Get the Fiscal Year/Month of a Particular Date

  

 

Q95907

  

ACC: How to Display Only the Last Two Digits of Any Year

  

 

Q92816

  

ACC: Converting Julian Dates with Visual or Access Basic Code

  

 

Q88657

  

ACC: Functions for Calculating and Displaying Date/Time Values

  

 

Q103138

  

ACC: Function to Get Date of Monday Prior to Current Day

  

 

Q100136

  

ACC: Two Functions to Calculate Age in Months and Years

  

 

     

  

Informational Articles

  

 

Q130514

  

ACC: Storing, Calculating, and Comparing Date/Time Data

  

 

Q98802

  

ACC: Date/Time Data Type Provides Current Year Automatically

  

 

Q155669

  

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

  

 

Q142009

  

ACC: How Windows Regional Settings Affect Microsoft Access

  

 

     

  

Other Date Issues

  

 

Q169156

  

ACC95: DateDiff, DateAdd, or DatePart Causes IPF in VBA232.DLL

  

 

Q149945

  

ACC95: Parameter Query Excludes Ending Date

  

 

Q114832

  

ADT/ODE: Calendar Control Cannot Format Individual Dates

  

 

Q96897

  

ACC: Operation Stops When Editing Attached SQL Tables

  

 

Q160575

  

ACC: Can't Paste Append Using Input Mask Based on Short Date

  

 

Q159323

  

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

  

 

Q142184

  

ACC: Conversion Errors Importing Dates with Different Formats

  

 

Q130580

  

Incorrect Date Value Added to Properties Custom Tab

  

 

Q106290

  

ACC: Using Format() and Month() Returns Incorrect Month

  

 

Q103174

  

ACC: Exporting Date Fields to Text Includes Time Format

  

 

Q173097

  

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

   

Q104973

  

ACC: DateDiff() Function Returns Incorrect Value

   

Access 95 uses a number of Microsoft Office 95 shared files for the implementation of dialogs and toolbars, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 95, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 95 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 95  7.0   (Swedish)

Product Summary
Product: Access 95 Version: 7.0 Category:Compliant*
Language: Swedish OS: 32-Bit Win Release Date: 01 Sep 1995
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: OLEAUT32.DLL ver. 2.20.4054 or later and Office 95 Year 2000 Software Update
Product Dependencies: Windows 95 or Windows NT 3.51 or greater
Clock Dependencies: System clock, OLEAUT32.DLL
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 95 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

Prerequisite

An Office 95 Year 2000 update is now available that corrects all known Year 2000 related issues in the applications used in Office 95. For more detailed information and to download this update please go to http://officeupdate.microsoft.com/articles/O95y2kfactsheet.htm.

Description of how the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.

Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which forces users to enter dates in a 2-digit format. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.

Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Parsing on date entry. OLEAUT32. 2.20.4054 or higher is required in order for Access 95 to correctly recognize 2-digit date shortcuts as falling within a window between 1930 and 2029. Without that file update, Access assumes that all shortcut dates fall in the current century.


Two-digit shortcut handling:

Microsoft Access 95's interpretation of dates depends on the version OLEAUT32.DLL in the system folder.

If your OLEAUT32.DLL has a version of 2.20.4054 or greater, Access 95 interprets dates entered with an abbreviated year format, to mean the 21st century. Office97 and Windows NT 4.0 install a version of OLEAUT32.DLL that follows these rules.

For more information, see The Automation Libraries and the Year 2000 white paper"

      

1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999


If your version of OLEAUT32.DLL is less than 2.20.4054, Access 95 interprets dates entered with an abbreviated year format to mean the current century in the following way. Windows 95 installs a version of OLEAUT32.DLL that follows these rules.

If the current century is the 20th:
1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999
If the current century is the 21st:
1/1/00 through 12/31/99 are interpreted as 1/1/2000 through 12/31/2099

What are the acceptable deviations?

Dates with two digit years in imported text files are interpreted as falling in the twentieth century.  Users can avoid this behavior by importing the files as text rather than as date type, then setting the field type to date.  Dates at that point will be interpreted using Access's own date window of 1930-2029.  Additionally, database synchronization may fail when spanning the century boundary. This behavior is correction in the Office 95 Year 2000 Software Update.

To determine the version of OLEAUT32.DLL you have:

a) Click on the Start button. Go to Find > Files or Folders
b) Enter Oleaut in Named Section; Choose [C:] to look in
c) Highlight Oleaut 32.dll
d) Click on File > Properties
e) Select the Version tab:

      

If File version is 2.20.4054 or higher the below download is not required.

If File version is less than 2.20.4054, the below download is necessary for Access to follow the 2-digit date window of 1930-2029.

Download OLEAUT32.DLL version 2.20.4118

Common date usage errors:

      

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:
In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely.

The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Microsoft Access within your organization.

Functionality

  

Areas Affected

  

Testing Notes

TransferText, Import/Export

  

Tables, Queries, Forms, Reports, Macros, Modules

  

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

     

  

     

Indexes

  

Tables

  

Date and time values can be indexed, and can require unique values.

     

  

     

Format

  

Tables, Queries, Forms, Reports, Modules

  

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

     

  

     

Input Mask

  

Tables, Queries, Forms, Reports, Modules

  

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

     

  

     

Validation Rule

  

Tables, Queries, Forms

  

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

     

  

     

Aggregate Queries

  

Queries

  

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

     

  

     

Domain Functions

  

Queries, Forms, Reports, Modules

  

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

     

  

     

Insert Date & Time

  

Forms, Reports

  

Inserts a calculated field that uses the Format function on the value of Date().

     

  

     

Charting

  

Forms, Reports

  

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

     

  

     

Calendar Control

  

Forms, Reports, Modules

  

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

     

  

     

Report Grouping

  

Reports

  

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

     

  

     

Day(), Month(), Year(), WeekDay()

  

Queries, Forms, Reports, Modules

  

Parses Date/Time data.

  

 

Date(), Now()

  

Queries, Forms, Reports, Modules

  

Returns Date, and Date and Time

   

     

  

         

DateAdd(), DateDiff()

  

Queries, Forms, Reports, Modules

  

Performs calculations on Date/Time data.

   

     

  

         

LastUpdated, DateCreated properties

  

All database objects

  

Date/Time stamp of last update and object creation, provided by DAO.

   

 

  

         

CDate()

  

Queries, Forms, Reports, Modules

  

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

   

Is there any place to find more information on date related issues for this product?

     

  

How To Articles

  

 

Q162718

  

HOWTO: Prepare Visual Basic Applications for the Year 2000

  

 

Q162745

  

ACC: How to Convert Between Julian Days and Dates

  

 

Q109703

  

ACC: How to Find the Number of Days in a Month

  

 

Q168793

  

HOWTO: Change the Short Date Format from Visual Basic

  

 

Q149127

  

ACC: How to Determine If a Date Falls on a Weekend or Holiday

  

 

Q149095

  

ACC: How to Format Dates Regardless of Regional Settings

  

 

Q141536

  

ACC: How to Convert Short Time Format to Different Formats

  

 

Q132101

  

ACC: How to Get the Fiscal Year/Month of a Particular Date

  

 

Q95907

  

ACC: How to Display Only the Last Two Digits of Any Year

  

 

Q92816

  

ACC: Converting Julian Dates with Visual or Access Basic Code

  

 

Q88657

  

ACC: Functions for Calculating and Displaying Date/Time Values

  

 

Q103138

  

ACC: Function to Get Date of Monday Prior to Current Day

  

 

Q100136

  

ACC: Two Functions to Calculate Age in Months and Years

  

 

     

  

Informational Articles

  

 

Q130514

  

ACC: Storing, Calculating, and Comparing Date/Time Data

  

 

Q98802

  

ACC: Date/Time Data Type Provides Current Year Automatically

  

 

Q155669

  

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

  

 

Q142009

  

ACC: How Windows Regional Settings Affect Microsoft Access

  

 

     

  

Other Date Issues

  

 

Q169156

  

ACC95: DateDiff, DateAdd, or DatePart Causes IPF in VBA232.DLL

  

 

Q149945

  

ACC95: Parameter Query Excludes Ending Date

  

 

Q114832

  

ADT/ODE: Calendar Control Cannot Format Individual Dates

  

 

Q96897

  

ACC: Operation Stops When Editing Attached SQL Tables

  

 

Q160575

  

ACC: Can't Paste Append Using Input Mask Based on Short Date

  

 

Q159323

  

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

  

 

Q142184

  

ACC: Conversion Errors Importing Dates with Different Formats

  

 

Q130580

  

Incorrect Date Value Added to Properties Custom Tab

  

 

Q106290

  

ACC: Using Format() and Month() Returns Incorrect Month

  

 

Q103174

  

ACC: Exporting Date Fields to Text Includes Time Format

  

 

Q173097

  

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

   

Q104973

  

ACC: DateDiff() Function Returns Incorrect Value

   

Access 95 uses a number of Microsoft Office 95 shared files for the implementation of dialogs and toolbars, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 95, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 95 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 95  7.0   (Thai)

Product Summary
Product: Access 95 Version: 7.0 Category:Compliant*#
Language: Thai OS: 32-Bit Win Release Date: 01 Sep 1995
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: OLEAUT32.DLL ver. 2.20.4054 or later (see below to download)
Product Dependencies: Windows 95 or Windows NT 3.51 or greater
Clock Dependencies: System clock, OLEAUT32.DLL
Last Updated: 29 Sep 1999
Product Details


Description of how the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.

Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which forces users to enter dates in a 2-digit format. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.

Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. These pre-defined formats allow a user to choose to display dates either in Buddhist or Gregorian calendar. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Parsing on date entry. OLEAUT32. 2.20.4054 or higher is required in order for Access 95 to correctly recognize 2-digit date shortcuts as falling within a window between 1930 and 2029. Without that file update, Access assumes that all shortcut dates fall in the current century.



Two-digit shortcut handling:

Microsoft Access 95's interpretation of dates depends on the version OLEAUT32.DLL in the system folder.

If your OLEAUT32.DLL has a version of 2.20.4054 or greater, Access 95 interprets dates entered with an abbreviated year format, to mean the 21st century. Office97 and Windows NT 4.0 install a version of OLEAUT32.DLL that follows these rules.

For more information, see The Automation Libraries and the Year 2000 whitepaper"

      

1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999


If your version of OLEAUT32.DLL is less than 2.20.4054, Access 95 interprets dates entered with an abbreviated year format to mean the current century in the following way. Windows 95 installs a version of OLEAUT32.DLL that follows these rules.

If the current century is the 20th:
1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999
If the current century is the 21st:
1/1/00 through 12/31/99 are interpreted as 1/1/2000 through 12/31/2099

Why is it Compliant#?

Dates with two digit years in imported text files are interpreted as falling in the twentieth century.  Users can avoid this behavior by importing the files as text rather than as date type, then setting the field type to date.  Dates at that point will be interpreted using Access's own date window of 1930-2029.  Additionally, database synchronization may fail when spanning the century boundary.  


To determine the version of OLEAUT32.DLL you have:

a) Click on the Start button. Go to Find > Files or Folders
b) Enter Oleaut in Named Section; Choose [C:] to look in
c) Highlight Oleaut 32.dll
d) Click on File > Properties
e) Select the Version tab:

      

If File version is 2.20.4054 or higher the below download is not required.

If File version is less than 2.20.4054, the below download is necessary for Access to follow the 2-digit date window of 1930-2029.

Download OLEAUT32.DLL version 2.20.4118
Common date usage errors:

      

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.


Testing guidelines and recommendations:
In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely.

The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Microsoft Access within your organization.

Functionality

  

Areas Affected

  

Testing Notes

TransferText, Import/Export

  

Tables, Queries, Forms, Reports, Macros, Modules

  

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

     

  

     

Indexes

  

Tables

  

Date and time values can be indexed, and can require unique values.

     

  

     

Format

  

Tables, Queries, Forms, Reports, Modules

  

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

     

  

     

Input Mask

  

Tables, Queries, Forms, Reports, Modules

  

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

     

  

     

Validation Rule

  

Tables, Queries, Forms

  

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

     

  

     

Aggregate Queries

  

Queries

  

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

     

  

     

Domain Functions

  

Queries, Forms, Reports, Modules

  

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

     

  

     

Insert Date & Time

  

Forms, Reports

  

Inserts a calculated field that uses the Format function on the value of Date().

     

  

     

Charting

  

Forms, Reports

  

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

     

  

     

Calendar Control

  

Forms, Reports, Modules

  

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

     

  

     

Report Grouping

  

Reports

  

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

     

  

     

Day(), Month(), Year(), WeekDay()

  

Queries, Forms, Reports, Modules

  

Parses Date/Time data.

  

 

Date(), Now()

  

Queries, Forms, Reports, Modules

  

Returns Date, and Date and Time

   

     

  

         

DateAdd(), DateDiff()

  

Queries, Forms, Reports, Modules

  

Performs calculations on Date/Time data.

   

     

  

         

LastUpdated, DateCreated properties

  

All database objects

  

Date/Time stamp of last update and object creation, provided by DAO.

   

 

  

         

CDate()

  

Queries, Forms, Reports, Modules

  

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

   

Is there any place to find more information on date related issues for this product?

     

  

How To Articles

  

 

Q162718

  

HOWTO: Prepare Visual Basic Applications for the Year 2000

  

 

Q162745

  

ACC: How to Convert Between Julian Days and Dates

  

 

Q109703

  

ACC: How to Find the Number of Days in a Month

  

 

Q168793

  

HOWTO: Change the Short Date Format from Visual Basic

  

 

Q149127

  

ACC: How to Determine If a Date Falls on a Weekend or Holiday

  

 

Q149095

  

ACC: How to Format Dates Regardless of Regional Settings

  

 

Q141536

  

ACC: How to Convert Short Time Format to Different Formats

  

 

Q132101

  

ACC: How to Get the Fiscal Year/Month of a Particular Date

  

 

Q95907

  

ACC: How to Display Only the Last Two Digits of Any Year

  

 

Q92816

  

ACC: Converting Julian Dates with Visual or Access Basic Code

  

 

Q88657

  

ACC: Functions for Calculating and Displaying Date/Time Values

  

 

Q103138

  

ACC: Function to Get Date of Monday Prior to Current Day

  

 

Q100136

  

ACC: Two Functions to Calculate Age in Months and Years

  

 

     

  

Informational Articles

  

 

Q130514

  

ACC: Storing, Calculating, and Comparing Date/Time Data

  

 

Q98802

  

ACC: Date/Time Data Type Provides Current Year Automatically

  

 

Q155669

  

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

  

 

Q142009

  

ACC: How Windows Regional Settings Affect Microsoft Access

  

 

     

  

Other Date Issues

  

 

Q169156

  

ACC95: DateDiff, DateAdd, or DatePart Causes IPF in VBA232.DLL

  

 

Q149945

  

ACC95: Parameter Query Excludes Ending Date

  

 

Q114832

  

ADT/ODE: Calendar Control Cannot Format Individual Dates

  

 

Q96897

  

ACC: Operation Stops When Editing Attached SQL Tables

  

 

Q160575

  

ACC: Can't Paste Append Using Input Mask Based on Short Date

  

 

Q159323

  

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

  

 

Q142184

  

ACC: Conversion Errors Importing Dates with Different Formats

  

 

Q130580

  

Incorrect Date Value Added to Properties Custom Tab

  

 

Q106290

  

ACC: Using Format() and Month() Returns Incorrect Month

  

 

Q103174

  

ACC: Exporting Date Fields to Text Includes Time Format

  

 

Q173097

  

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

   

Q104973

  

ACC: DateDiff() Function Returns Incorrect Value

   

Access 95 uses a number of Microsoft Office 95 shared files for the implementation of dialogs and toolbars, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 95, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 95 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 95  7.0   (Turkish)

Product Summary
Product: Access 95 Version: 7.0 Category:Compliant*
Language: Turkish OS: 32-Bit Win Release Date: 01 Sep 1995
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: OLEAUT32.DLL ver. 2.20.4054 or later and Office 95 Year 2000 Software Update
Product Dependencies: Windows 95 or Windows NT 3.51 or greater
Clock Dependencies: System clock, OLEAUT32.DLL
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 95 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

Prerequisite

An Office 95 Year 2000 update is now available that corrects all known Year 2000 related issues in the applications used in Office 95. For more detailed information and to download this update please go to http://officeupdate.microsoft.com/Turkiye/downloadDetails/O95y2k.htm.

Description of how the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.

Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which forces users to enter dates in a 2-digit format. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit formats.

Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Parsing on date entry. OLEAUT32. 2.20.4054 or higher is required in order for Access 95 to correctly recognize 2-digit date shortcuts as falling within a window between 1930 and 2029. Without that file update, Access assumes that all shortcut dates fall in the current century.

Two-digit shortcut handling:

Microsoft Access 95's interpretation of dates depends on the version OLEAUT32.DLL in the system folder.

If your OLEAUT32.DLL has a version of 2.20.4054 or greater, Access 95 interprets dates entered with an abbreviated year format, to mean the 21st century. Office97 and Windows NT 4.0 install a version of OLEAUT32.DLL that follows these rules.

For more information, see The Automation Libraries and the Year 2000 whitepaper"

      

1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999

If your version of OLEAUT32.DLL is less than 2.20.4054, Access 95 interprets dates entered with an abbreviated year format to mean the current century in the following way. Windows 95 installs a version of OLEAUT32.DLL that follows these rules.

If the current century is the 20th:
1/1/00 through 12/31/99 are interpreted as 1/1/1900 through 12/31/1999
If the current century is the 21st:
1/1/00 through 12/31/99 are interpreted as 1/1/2000 through 12/31/2099

What are the acceptable deviations?

Dates with two digit years in imported text files are interpreted as falling in the twentieth century.  Users can avoid this behavior by importing the files as text rather than as date type, then setting the field type to date.  Dates at that point will be interpreted using Access's own date window of 1930-2029.  Additionally, database synchronization may fail when spanning the century boundary. This behavior is correction in the Office 95 Year 2000 Software Update.

To determine the version of OLEAUT32.DLL you have:

a) Click on the Start button. Go to Find > Files or Folders
b) Enter Oleaut in Named Section; Choose [C:] to look in
c) Highlight Oleaut 32.dll
d) Click on File > Properties
e) Select the Version tab:

      

If File version is 2.20.4054 or higher the below download is not required.

If File version is less than 2.20.4054, the below download is necessary for Access to follow the 2-digit date window of 1930-2029.

Download OLEAUT32.DLL version 2.20.4118

Common date usage errors:

      

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format, the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:
In general, avoid testing in a production environment because we cannot predict side effects with other products. Interoperability testing with other Microsoft Office products can be conducted safely.

The following areas should be looked at to verify dates are being properly used. The table below can be used to guide testing of Microsoft Access within your organization.

Functionality

  

Areas Affected

  

Testing Notes

TransferText, Import/Export

  

Tables, Queries, Forms, Reports, Macros, Modules

  

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

     

  

     

Indexes

  

Tables

  

Date and time values can be indexed, and can require unique values.

     

  

     

Format

  

Tables, Queries, Forms, Reports, Modules

  

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

     

  

     

Input Mask

  

Tables, Queries, Forms, Reports, Modules

  

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

     

  

     

Validation Rule

  

Tables, Queries, Forms

  

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

     

  

     

Aggregate Queries

  

Queries

  

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

     

  

     

Domain Functions

  

Queries, Forms, Reports, Modules

  

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

     

  

     

Insert Date & Time

  

Forms, Reports

  

Inserts a calculated field that uses the Format function on the value of Date().

     

  

     

Charting

  

Forms, Reports

  

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

     

  

     

Calendar Control

  

Forms, Reports, Modules

  

Value property allows user to get and set dates on calendar. Year is always displayed as four digits.

     

  

     

Report Grouping

  

Reports

  

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

     

  

     

Day(), Month(), Year(), WeekDay()

  

Queries, Forms, Reports, Modules

  

Parses Date/Time data.

  

 

Date(), Now()

  

Queries, Forms, Reports, Modules

  

Returns Date, and Date and Time

   

     

  

         

DateAdd(), DateDiff()

  

Queries, Forms, Reports, Modules

  

Performs calculations on Date/Time data.

   

     

  

         

LastUpdated, DateCreated properties

  

All database objects

  

Date/Time stamp of last update and object creation, provided by DAO.

   

 

  

         

CDate()

  

Queries, Forms, Reports, Modules

  

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

   

Is there any place to find more information on date related issues for this product?

     

  

How To Articles

  

 

Q162718

  

HOWTO: Prepare Visual Basic Applications for the Year 2000

  

 

Q162745

  

ACC: How to Convert Between Julian Days and Dates

  

 

Q109703

  

ACC: How to Find the Number of Days in a Month

  

 

Q168793

  

HOWTO: Change the Short Date Format from Visual Basic

  

 

Q149127

  

ACC: How to Determine If a Date Falls on a Weekend or Holiday

  

 

Q149095

  

ACC: How to Format Dates Regardless of Regional Settings

  

 

Q141536

  

ACC: How to Convert Short Time Format to Different Formats

  

 

Q132101

  

ACC: How to Get the Fiscal Year/Month of a Particular Date

  

 

Q95907

  

ACC: How to Display Only the Last Two Digits of Any Year

  

 

Q92816

  

ACC: Converting Julian Dates with Visual or Access Basic Code

  

 

Q88657

  

ACC: Functions for Calculating and Displaying Date/Time Values

  

 

Q103138

  

ACC: Function to Get Date of Monday Prior to Current Day

  

 

Q100136

  

ACC: Two Functions to Calculate Age in Months and Years

  

 

     

  

Informational Articles

  

 

Q130514

  

ACC: Storing, Calculating, and Comparing Date/Time Data

  

 

Q98802

  

ACC: Date/Time Data Type Provides Current Year Automatically

  

 

Q155669

  

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

  

 

Q142009

  

ACC: How Windows Regional Settings Affect Microsoft Access

  

 

     

  

Other Date Issues

  

 

Q169156

  

ACC95: DateDiff, DateAdd, or DatePart Causes IPF in VBA232.DLL

  

 

Q149945

  

ACC95: Parameter Query Excludes Ending Date

  

 

Q114832

  

ADT/ODE: Calendar Control Cannot Format Individual Dates

  

 

Q96897

  

ACC: Operation Stops When Editing Attached SQL Tables

  

 

Q160575

  

ACC: Can't Paste Append Using Input Mask Based on Short Date

  

 

Q159323

  

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

  

 

Q142184

  

ACC: Conversion Errors Importing Dates with Different Formats

  

 

Q130580

  

Incorrect Date Value Added to Properties Custom Tab

  

 

Q106290

  

ACC: Using Format() and Month() Returns Incorrect Month

  

 

Q103174

  

ACC: Exporting Date Fields to Text Includes Time Format

  

 

Q173097

  

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

   

Q104973

  

ACC: DateDiff() Function Returns Incorrect Value

   

Access 95 uses a number of Microsoft Office 95 shared files for the implementation of dialogs and toolbars, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 95, please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 95 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 97  8.0   (Arabic)

Product Summary
Product: Access 97 Version: 8.0 Category:Compliant*#
Language: Arabic OS: 32-Bit Win Release Date: 01 Nov 1996
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: Microsoft Jet 3.5 Update
Product Dependencies: Windows 95, Windows 98 , or Windows NT 4
Clock Dependencies: System clock
Last Updated: 29 Sep 1999
Product Details

Prerequisites:

An acceptable deviation involving using Microsoft Access 97 to specify a two-digit date as a criteria in the QBE grid or in an object's property sheet has been discovered that may result in inconsistent dates depending on the system settings of the computer on which you run the query. For more information, and to download this update go to http://support.microsoft.com/support/kb/articles/Q172/7/33.asp

How the product handles dates:

For all Arabic Office 97 applications and with the exception of Outlook 97, if the user enters a date that uses a two-digit year in the Custom tab of the Properties dialog box, the date will be formatted with a value between 1900 - 1999. As an example the user does the following:

Selects Properties or Database Properties from the File menu.

Clicks the Custom tab.

Enters a field name in the Name edit box.

Selects date from the Type list.

Enters the value 7/5/00 in the value field.

Clicks Add.

The date will appear in the properties list box as 7/5/1900, not 7/5/2000. For information check the Knowledge Base Article Q186261.

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.
Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.


Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit year formats.


Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.


Parsing on date entry. Dates are parsed using OLE Automation. For more information, see the "OLE Automation Technology" Year 2000 compliance information document.

Two-digit shortcut handling:

Microsoft Access 97 interprets dates entered with a 2-digit shortcut to mean the 21st century in the following way.
1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999

Common date usage errors:

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format (mm/dd/yyyy), the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.


Testing guidelines and recommendations:

In general, avoid testing in a production environment because one cannot predict side effects with other products.
The following areas should be looked at to verify dates are being properly used. The table below can be useful in testing Microsoft Access 97 within your organization.

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

     

   

To find more information on date related issues for this product:

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q162745

ACC: How to Convert Between Julian Days and Dates

Q109703

ACC: How to Find the Number of Days in a Month

Q168793

HOWTO: Change the Short Date Format from Visual Basic

Q149127

ACC: How to Determine If a Date Falls on a Weekend or Holiday

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

 

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q169599

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM

Q155669

ACC:Years 00-29 Default to Year 2000 When Typed as M/D/YY

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q160575

ACC: Can't Paste Append Using Input Mask Based on Short Date

Q159323

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

Q142184

ACC: Conversion Errors Importing Dates with Different Formats

Q130580

Incorrect Date Value Added to Properties Custom Tab

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

Access 97 uses a number of Microsoft Office 97 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 97 please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 97 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 97  8.0   (Chinese - Simplified)

Product Summary
Product: Access 97 Version: 8.0 Category:Compliant*
Language: Chinese - Simplified OS: 32-Bit Win Release Date: 01 Nov 1996
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: Office 97 Service Release 2 and Jet 3.5 Update
Product Dependencies: Windows 95, Windows 98 or Windows NT 3.51 with SP 5 or greater, or Windows NT 4 (no specific SP is required, though SP 2 is recommended)
Clock Dependencies: System clock
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 97 Service Release 2 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

Prerequisites:  

An acceptable deviation involving using Microsoft Access 97 to specify a two-digit date as a criteria in the QBE grid or in an object's property sheet has been discovered that may result in inconsistent dates depending on the system settings of the computer on which you run the query. For more information, and to download this update go to http://support.microsoft.com/support/kb/articles/Q172/7/33.asp

Download the Office 97 Service Release (SR) 2 Patch from http://officeupdate.microsoft.com/Articles/sr2fact.htm

The changes in Office 97 that were made in SR 2, including Y2K updates, are listed in http://support.microsoft.com/support/kb/articles/q151/0/20.asp. All Y2K issues reported as fixed in SR2 exist in SR1 and in the base Office 97 product.

The issues addressed by this update exist in all Office 97 releases, including SR 1 and the base release.

How the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.
Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit year formats.


Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Dates are parsed using OLE Automation. For more information, see the "OLE Automation Technology" Year 2000 compliance information document.

Two-digit shortcut handling:

Microsoft Access 97 interprets dates entered with a 2-digit shortcut to mean the 21st century in the following way.
1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999

Common date usage errors:

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format (mm/dd/yyyy), the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.


Testing guidelines and recommendations:

In general, avoid testing in a production environment because one cannot predict side effects with other products.
The following areas should be looked at to verify dates are being properly used. The table below can be useful in testing Microsoft Access 97 within your organization.

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

     

   

To find more information on date related issues for this product:

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q162745

ACC: How to Convert Between Julian Days and Dates

Q109703

ACC: How to Find the Number of Days in a Month

Q168793

HOWTO: Change the Short Date Format from Visual Basic

Q149127

ACC: How to Determine If a Date Falls on a Weekend or Holiday

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

 

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q169599

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM

Q155669

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q160575

ACC: Can't Paste Append Using Input Mask Based on Short Date

Q159323

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

Q142184

ACC: Conversion Errors Importing Dates with Different Formats

Q130580

Incorrect Date Value Added to Properties Custom Tab

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

Access 97 uses a number of Microsoft Office 97 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 97 please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 97 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 97  8.0   (Chinese - Traditional)

Product Summary
Product: Access 97 Version: 8.0 Category:Compliant*
Language: Chinese - Traditional OS: 32-Bit Win Release Date: 01 Nov 1996
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: Office 97 Service Release and Jet 3.5 Update
Product Dependencies: Windows 95, Windows 98 or Windows NT 3.51 with SP 5 or greater, or Windows NT 4 (no specific SP is required, though SP 2 is recommended)
Clock Dependencies: System clock
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 97 Service Release 2 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

Prerequisites:  

An acceptable deviation involving using Microsoft Access 97 to specify a two-digit date as a criteria in the QBE grid or in an object's property sheet has been discovered that may result in inconsistent dates depending on the system settings of the computer on which you run the query. For more information, and to download this update go to http://support.microsoft.com/support/kb/articles/Q172/7/33.asp

Download the Office 97 Service Release (SR) 2 Patch from http://officeupdate.microsoft.com/Articles/sr2fact.htm

The changes in Office 97 that were made in SR 2, including Y2K updates, are listed in http://support.microsoft.com/support/kb/articles/q151/0/20.asp. All Y2K issues reported as fixed in SR2 exist in SR1 and in the base Office 97 product.

The issues addressed by this update exist in all Office 97 releases, including SR 1 and the base release.

How the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.
Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit year formats.
Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Dates are parsed using OLE Automation. For more information, see the "OLE Automation Technology" Year 2000 compliance information document.

Two-digit shortcut handling:

Microsoft Access 97 interprets dates entered with a 2-digit shortcut to mean the 21st century in the following way.
1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999

Common date usage errors:

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format (mm/dd/yyyy), the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.


Testing guidelines and recommendations:

In general, avoid testing in a production environment because one cannot predict side effects with other products.
The following areas should be looked at to verify dates are being properly used. The table below can be useful in testing Microsoft Access 97 within your organization.

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

     

   

To find more information on date related issues for this product:

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q162745

ACC: How to Convert Between Julian Days and Dates

Q109703

ACC: How to Find the Number of Days in a Month

Q168793

HOWTO: Change the Short Date Format from Visual Basic

Q149127

ACC: How to Determine If a Date Falls on a Weekend or Holiday

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

 

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q169599

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM

Q155669

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q160575

ACC: Can't Paste Append Using Input Mask Based on Short Date

Q159323

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

Q142184

ACC: Conversion Errors Importing Dates with Different Formats

Q130580

Incorrect Date Value Added to Properties Custom Tab

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server


Access 97 uses a number of Microsoft Office 97 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 97 please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 97 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 97  8.0   (Czech)

Product Summary
Product: Access 97 Version: 8.0 Category:Compliant*
Language: Czech OS: 32-Bit Win Release Date: N/A
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: Office 97 Service Release 2 and Microsoft Jet 3.5 Update
Product Dependencies: Windows 95, Windows 98, or Windows NT 3.51 with SP 5 or greater, or Windows NT 4 (no specific SP is required, though SP 2 is recommended)
Clock Dependencies: System clock
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 97 Service Release 2 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

Prerequisites:  

An acceptable deviation involving using Microsoft Access 97 to specify a two-digit date as a criteria in the QBE grid or in an object's property sheet has been discovered that may result in inconsistent dates depending on the system settings of the computer on which you run the query. For more information, and to download this update go to http://support.microsoft.com/support/kb/articles/Q172/7/33.asp

Download the Office 97 Service Release (SR) 2 Patch from http://officeupdate.microsoft.com/Articles/sr2fact.htm

The changes in Office 97 that were made in SR 2, including Y2K updates, are listed in http://support.microsoft.com/support/kb/articles/q151/0/20.asp. All Y2K issues reported as fixed in SR2 exist in SR1 and in the base Office 97 product.

The issues addressed by this update exist in all Office 97 releases, including SR 1 and the base release.

How the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.
Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit year formats.
Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Dates are parsed using OLE Automation. For more information, see the "OLE Automation Technology" Year 2000 compliance information document.

Two-digit shortcut handling:

Microsoft Access 97 interprets dates entered with a 2-digit shortcut to mean the 21st century in the following way.
1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999

Common date usage errors:

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format (mm/dd/yyyy), the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.


Testing guidelines and recommendations:

In general, avoid testing in a production environment because one cannot predict side effects with other products.
The following areas should be looked at to verify dates are being properly used. The table below can be useful in testing Microsoft Access 97 within your organization.

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

     

   

To find more information on date related issues for this product:

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q162745

ACC: How to Convert Between Julian Days and Dates

Q109703

ACC: How to Find the Number of Days in a Month

Q168793

HOWTO: Change the Short Date Format from Visual Basic

Q149127

ACC: How to Determine If a Date Falls on a Weekend or Holiday

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

 

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q169599

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM

Q155669

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q160575

ACC: Can't Paste Append Using Input Mask Based on Short Date

Q159323

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

Q142184

ACC: Conversion Errors Importing Dates with Different Formats

Q130580

Incorrect Date Value Added to Properties Custom Tab

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server


Access 97 uses a number of Microsoft Office 97 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 97 please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 97 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 97  8.0   (Danish)

Product Summary
Product: Access 97 Version: 8.0 Category:Compliant*
Language: Danish OS: 32-Bit Win Release Date: 01 Nov 1996
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: Office 97 Service Release 2 and Microsoft Jet 3.5 Update
Product Dependencies: Windows 95, Windows 98, or Windows NT 3.51 with SP 5 or greater, or Windows NT 4 (no specific SP is required, though SP 2 is recommended)
Clock Dependencies: System clock
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 97 Service Release 2 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

Prerequisites:  

An acceptable deviation involving using Microsoft Access 97 to specify a two-digit date as a criteria in the QBE grid or in an object's property sheet has been discovered that may result in inconsistent dates depending on the system settings of the computer on which you run the query. For more information, and to download this update go to http://support.microsoft.com/support/kb/articles/Q172/7/33.asp

Download the Office 97 Service Release (SR) 2 Patch from http://officeupdate.microsoft.com/Articles/sr2fact.htm

The changes in Office 97 that were made in SR 2, including Y2K updates, are listed in http://support.microsoft.com/support/kb/articles/q151/0/20.asp. All Y2K issues reported as fixed in SR2 exist in SR1 and in the base Office 97 product.

The issues addressed by this update exist in all Office 97 releases, including SR 1 and the base release.

How the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.
Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit year formats.
Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Dates are parsed using OLE Automation. For more information, see the "OLE Automation Technology" Year 2000 compliance information document.

Two-digit shortcut handling:

Microsoft Access 97 interprets dates entered with a 2-digit shortcut to mean the 21st century in the following way.
1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999

Common date usage errors:

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format (mm/dd/yyyy), the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.


Testing guidelines and recommendations:

In general, avoid testing in a production environment because one cannot predict side effects with other products.
The following areas should be looked at to verify dates are being properly used. The table below can be useful in testing Microsoft Access 97 within your organization.

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

     

   

To find more information on date related issues for this product:

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q162745

ACC: How to Convert Between Julian Days and Dates

Q109703

ACC: How to Find the Number of Days in a Month

Q168793

HOWTO: Change the Short Date Format from Visual Basic

Q149127

ACC: How to Determine If a Date Falls on a Weekend or Holiday

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

 

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q169599

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM

Q155669

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q160575

ACC: Can't Paste Append Using Input Mask Based on Short Date

Q159323

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

Q142184

ACC: Conversion Errors Importing Dates with Different Formats

Q130580

Incorrect Date Value Added to Properties Custom Tab

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server


Access 97 uses a number of Microsoft Office 97 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 97 please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 97 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 97  8.0   (Dutch)

Product Summary
Product: Access 97 Version: 8.0 Category:Compliant*
Language: Dutch OS: 32-Bit Win Release Date: 01 Nov 1996
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: Office 97 Service Release 2 and Microsoft Jet 3.5 Update
Product Dependencies: Windows 95, Windows 98, or Windows NT 3.51 with SP 5 or greater, or Windows NT 4 (no specific SP is required, though SP 2 is recommended)
Clock Dependencies: System clock
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 97 Service Release 2 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

Prerequisites:  

An acceptable deviation involving using Microsoft Access 97 to specify a two-digit date as a criteria in the QBE grid or in an object's property sheet has been discovered that may result in inconsistent dates depending on the system settings of the computer on which you run the query. For more information, and to download this update go to http://support.microsoft.com/support/kb/articles/Q172/7/33.asp

Download the Office 97 Service Release (SR) 2 Patch from http://officeupdate.microsoft.com/Articles/sr2fact.htm

The changes in Office 97 that were made in SR 2, including Y2K updates, are listed in http://support.microsoft.com/support/kb/articles/q151/0/20.asp. All Y2K issues reported as fixed in SR2 exist in SR1 and in the base Office 97 product.

The issues addressed by this update exist in all Office 97 releases, including SR 1 and the base release.

How the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.
Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit year formats.
Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Dates are parsed using OLE Automation. For more information, see the "OLE Automation Technology" Year 2000 compliance information document.

Two-digit shortcut handling:

Microsoft Access 97 interprets dates entered with a 2-digit shortcut to mean the 21st century in the following way.
1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999

Common date usage errors:

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format (mm/dd/yyyy), the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.


Testing guidelines and recommendations:

In general, avoid testing in a production environment because one cannot predict side effects with other products.
The following areas should be looked at to verify dates are being properly used. The table below can be useful in testing Microsoft Access 97 within your organization.

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

     

   

To find more information on date related issues for this product:

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q162745

ACC: How to Convert Between Julian Days and Dates

Q109703

ACC: How to Find the Number of Days in a Month

Q168793

HOWTO: Change the Short Date Format from Visual Basic

Q149127

ACC: How to Determine If a Date Falls on a Weekend or Holiday

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

 

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q169599

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM

Q155669

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q160575

ACC: Can't Paste Append Using Input Mask Based on Short Date

Q159323

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

Q142184

ACC: Conversion Errors Importing Dates with Different Formats

Q130580

Incorrect Date Value Added to Properties Custom Tab

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server


Access 97 uses a number of Microsoft Office 97 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 97 please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 97 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 97  8.0   (English)

Product Summary
Product: Access 97 Version: 8.0 Category:Compliant*
Language: English OS: 32-Bit Win Release Date: 01 Nov 1996
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: Office 97 Service Release 2 and Microsoft Jet 3.5 Update
Product Dependencies: Windows 95, Windows 98 or Windows NT 3.51 with SP 5 or greater, or Windows NT 4 (no specific SP is required, though SP 2 is recommended)
Clock Dependencies: System clock
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 97 Service Release 2 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

Prerequisites:  

An acceptable deviation involving using Microsoft Access 97 to specify a two-digit date as a criteria in the QBE grid or in an object's property sheet has been discovered that may result in inconsistent dates depending on the system settings of the computer on which you run the query. For more information, and to download this update go to http://support.microsoft.com/support/kb/articles/Q172/7/33.asp

Download the Office 97 Service Release (SR) 2 Patch from http://officeupdate.microsoft.com/Articles/sr2fact.htm

The changes in Office 97 that were made in SR 2, including Y2K updates, are listed in http://support.microsoft.com/support/kb/articles/q151/0/20.asp. All Y2K issues reported as fixed in SR2 exist in SR1 and in the base Office 97 product. The issues addressed by this update exist in all Office 97 releases, including SR 1 and the base release.

 

 

How the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.
Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit year formats.
Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Dates are parsed using OLE Automation. For more information, see the "OLE Automation Technology" Year 2000 compliance information document.

Two-digit shortcut handling:

Microsoft Access 97 interprets dates entered with a 2-digit shortcut to mean the 21st century in the following way.
1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999

Common date usage errors:

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format (mm/dd/yyyy), the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.


Testing guidelines and recommendations:

In general, avoid testing in a production environment because one cannot predict side effects with other products.
The following areas should be looked at to verify dates are being properly used. The table below can be useful in testing Microsoft Access 97 within your organization.

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

     

   

To find more information on date related issues for this product:

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q162745

ACC: How to Convert Between Julian Days and Dates

Q109703

ACC: How to Find the Number of Days in a Month

Q168793

HOWTO: Change the Short Date Format from Visual Basic

Q149127

ACC: How to Determine If a Date Falls on a Weekend or Holiday

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

 

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q169599

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM

Q155669

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q160575

ACC: Can't Paste Append Using Input Mask Based on Short Date

Q159323

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

Q142184

ACC: Conversion Errors Importing Dates with Different Formats

Q130580

Incorrect Date Value Added to Properties Custom Tab

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

Access 97 uses a number of Microsoft Office 97 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 97 please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 97 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 97  8.0   (Finnish)

Product Summary
Product: Access 97 Version: 8.0 Category:Compliant*
Language: Finnish OS: 32-Bit Win Release Date: 01 Nov 1996
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: Office 97 Service Release 2 and Microsoft Jet 3.5 Update
Product Dependencies: Windows 95, Windows 98, or Windows NT 3.51 with SP 5 or greater, or Windows NT 4 (no specific SP is required, though SP 2 is recommended)
Clock Dependencies: System clock
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 97 Service Release 2 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

Prerequisites:  

An acceptable deviation involving using Microsoft Access 97 to specify a two-digit date as a criteria in the QBE grid or in an object's property sheet has been discovered that may result in inconsistent dates depending on the system settings of the computer on which you run the query. For more information, and to download this update go to http://support.microsoft.com/support/kb/articles/Q172/7/33.asp

Download the Office 97 Service Release (SR) 2 Patch from http://officeupdate.microsoft.com/Articles/sr2fact.htm

The changes in Office 97 that were made in SR 2, including Y2K updates, are listed in http://support.microsoft.com/support/kb/articles/q151/0/20.asp. All Y2K issues reported as fixed in SR2 exist in SR1 and in the base Office 97 product. The issues addressed by this update exist in all Office 97 releases, including SR 1 and the base release.

 

 

How the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.
Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit year formats.
Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Dates are parsed using OLE Automation. For more information, see the "OLE Automation Technology" Year 2000 compliance information document.

Two-digit shortcut handling:

Microsoft Access 97 interprets dates entered with a 2-digit shortcut to mean the 21st century in the following way.
1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999

Common date usage errors:

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format (mm/dd/yyyy), the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.


Testing guidelines and recommendations:

In general, avoid testing in a production environment because one cannot predict side effects with other products.
The following areas should be looked at to verify dates are being properly used. The table below can be useful in testing Microsoft Access 97 within your organization.

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

     

   

To find more information on date related issues for this product:

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q162745

ACC: How to Convert Between Julian Days and Dates

Q109703

ACC: How to Find the Number of Days in a Month

Q168793

HOWTO: Change the Short Date Format from Visual Basic

Q149127

ACC: How to Determine If a Date Falls on a Weekend or Holiday

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

 

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q169599

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM

Q155669

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q160575

ACC: Can't Paste Append Using Input Mask Based on Short Date

Q159323

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

Q142184

ACC: Conversion Errors Importing Dates with Different Formats

Q130580

Incorrect Date Value Added to Properties Custom Tab

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

Access 97 uses a number of Microsoft Office 97 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 97 please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 97 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 97  8.0   (French)

Product Summary
Product: Access 97 Version: 8.0 Category:Compliant*
Language: French OS: 32-Bit Win Release Date: 01 Nov 1996
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: Office 97 Service Release 2 and Microsoft Jet 3.5 Update
Product Dependencies: Windows 95, Windows 98, or Windows NT 3.51 with SP 5 or greater, or Windows NT 4 (no specific SP is required, though SP 2 is recommended)
Clock Dependencies: System clock
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 97 Service Release 2 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

Prerequisites:  

An acceptable deviation involving using Microsoft Access 97 to specify a two-digit date as a criteria in the QBE grid or in an object's property sheet has been discovered that may result in inconsistent dates depending on the system settings of the computer on which you run the query. For more information, and to download this update go to http://support.microsoft.com/support/kb/articles/Q172/7/33.asp

Download the Office 97 Service Release (SR) 2 Patch from http://officeupdate.microsoft.com/Articles/sr2fact.htm

The changes in Office 97 that were made in SR 2, including Y2K updates, are listed in http://support.microsoft.com/support/kb/articles/q151/0/20.asp. All Y2K issues reported as fixed in SR2 exist in SR1 and in the base Office 97 product. The issues addressed by this update exist in all Office 97 releases, including SR 1 and the base release.

 

 

How the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.
Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit year formats.
Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Dates are parsed using OLE Automation. For more information, see the "OLE Automation Technology" Year 2000 compliance information document.

Two-digit shortcut handling:

Microsoft Access 97 interprets dates entered with a 2-digit shortcut to mean the 21st century in the following way.
1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999

Common date usage errors:

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format (mm/dd/yyyy), the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.


Testing guidelines and recommendations:

In general, avoid testing in a production environment because one cannot predict side effects with other products.
The following areas should be looked at to verify dates are being properly used. The table below can be useful in testing Microsoft Access 97 within your organization.

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

     

   

To find more information on date related issues for this product:

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q162745

ACC: How to Convert Between Julian Days and Dates

Q109703

ACC: How to Find the Number of Days in a Month

Q168793

HOWTO: Change the Short Date Format from Visual Basic

Q149127

ACC: How to Determine If a Date Falls on a Weekend or Holiday

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

 

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q169599

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM

Q155669

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q160575

ACC: Can't Paste Append Using Input Mask Based on Short Date

Q159323

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

Q142184

ACC: Conversion Errors Importing Dates with Different Formats

Q130580

Incorrect Date Value Added to Properties Custom Tab

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

Access 97 uses a number of Microsoft Office 97 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 97 please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 97 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 97  8.0   (German)

Product Summary
Product: Access 97 Version: 8.0 Category:Compliant*
Language: German OS: 32-Bit Win Release Date: 01 Nov 1996
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: Office 97 Service Release 2 and Microsoft Jet 3.5 Update
Product Dependencies: Windows 95, Windows 98, or Windows NT 3.51 with SP 5 or greater, or Windows NT 4 (no specific SP is required, though SP 2 is recommended)
Clock Dependencies: System clock
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 97 Service Release 2 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

Prerequisites:  

An acceptable deviation involving using Microsoft Access 97 to specify a two-digit date as a criteria in the QBE grid or in an object's property sheet has been discovered that may result in inconsistent dates depending on the system settings of the computer on which you run the query. For more information, and to download this update go to http://support.microsoft.com/support/kb/articles/Q172/7/33.asp

Download the Office 97 Service Release (SR) 2 Patch from http://officeupdate.microsoft.com/Articles/sr2fact.htm

The changes in Office 97 that were made in SR 2, including Y2K updates, are listed in http://support.microsoft.com/support/kb/articles/q151/0/20.asp. All Y2K issues reported as fixed in SR2 exist in SR1 and in the base Office 97 product. The issues addressed by this update exist in all Office 97 releases, including SR 1 and the base release.

 

 

How the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.
Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit year formats.
Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Dates are parsed using OLE Automation. For more information, see the "OLE Automation Technology" Year 2000 compliance information document.

Two-digit shortcut handling:

Microsoft Access 97 interprets dates entered with a 2-digit shortcut to mean the 21st century in the following way.
1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999

Common date usage errors:

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format (mm/dd/yyyy), the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.


Testing guidelines and recommendations:

In general, avoid testing in a production environment because one cannot predict side effects with other products.
The following areas should be looked at to verify dates are being properly used. The table below can be useful in testing Microsoft Access 97 within your organization.

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

     

   

To find more information on date related issues for this product:

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q162745

ACC: How to Convert Between Julian Days and Dates

Q109703

ACC: How to Find the Number of Days in a Month

Q168793

HOWTO: Change the Short Date Format from Visual Basic

Q149127

ACC: How to Determine If a Date Falls on a Weekend or Holiday

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

 

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q169599

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM

Q155669

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q160575

ACC: Can't Paste Append Using Input Mask Based on Short Date

Q159323

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

Q142184

ACC: Conversion Errors Importing Dates with Different Formats

Q130580

Incorrect Date Value Added to Properties Custom Tab

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

Access 97 uses a number of Microsoft Office 97 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 97 please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 97 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 97  8.0   (Greek)

Product Summary
Product: Access 97 Version: 8.0 Category:Compliant*
Language: Greek OS: 32-Bit Win Release Date: 01 Nov 1996
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: Office 97 Service Release 2 and Microsoft Jet 3.5 Update
Product Dependencies: Windows 95, Windows 98, or Windows NT 3.51 with SP 5 or greater, or Windows NT 4 (no specific SP is required, though SP 2 is recommended)
Clock Dependencies: System Clock
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 97 Service Release 2 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

Prerequisites:  

An acceptable deviation involving using Microsoft Access 97 to specify a two-digit date as a criteria in the QBE grid or in an object's property sheet has been discovered that may result in inconsistent dates depending on the system settings of the computer on which you run the query. For more information, and to download this update go to http://support.microsoft.com/support/kb/articles/Q172/7/33.asp

Download the Office 97 Service Release (SR) 2 Patch from http://officeupdate.microsoft.com/Articles/sr2fact.htm

The changes in Office 97 that were made in SR 2, including Y2K updates, are listed in http://support.microsoft.com/support/kb/articles/q151/0/20.asp. All Y2K issues reported as fixed in SR2 exist in SR1 and in the base Office 97 product. The issues addressed by this update exist in all Office 97 releases, including SR 1 and the base release.

 

 

How the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.
Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit year formats.
Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Dates are parsed using OLE Automation. For more information, see the "OLE Automation Technology" Year 2000 compliance information document.

Two-digit shortcut handling:

Microsoft Access 97 interprets dates entered with a 2-digit shortcut to mean the 21st century in the following way.
1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999

Common date usage errors:

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format (mm/dd/yyyy), the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.


Testing guidelines and recommendations:

In general, avoid testing in a production environment because one cannot predict side effects with other products.
The following areas should be looked at to verify dates are being properly used. The table below can be useful in testing Microsoft Access 97 within your organization.

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

     

   

To find more information on date related issues for this product:

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q162745

ACC: How to Convert Between Julian Days and Dates

Q109703

ACC: How to Find the Number of Days in a Month

Q168793

HOWTO: Change the Short Date Format from Visual Basic

Q149127

ACC: How to Determine If a Date Falls on a Weekend or Holiday

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

 

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q169599

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM

Q155669

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q160575

ACC: Can't Paste Append Using Input Mask Based on Short Date

Q159323

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

Q142184

ACC: Conversion Errors Importing Dates with Different Formats

Q130580

Incorrect Date Value Added to Properties Custom Tab

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

Access 97 uses a number of Microsoft Office 97 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 97 please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 97 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 97  8.0   (Hebrew)

Product Summary
Product: Access 97 Version: 8.0 Category:Compliant*#
Language: Hebrew OS: 32-Bit Win Release Date: 01 Nov 1996
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: Microsoft Jet 3.5 Update
Product Dependencies: Windows 95, Windows 98 , or Windows NT 4
Clock Dependencies: Systen clock
Last Updated: 29 Sep 1999
Product Details

Prerequisites:

An acceptable deviation involving using Microsoft Access 97 to specify a two-digit date as a criteria in the QBE grid or in an object's property sheet has been discovered that may result in inconsistent dates depending on the system settings of the computer on which you run the query. For more information, and to download this update go to http://support.microsoft.com/support/kb/articles/Q172/7/33.asp

How the product handles dates:

For all Hebrew Office 97 applications and with the exception of Outlook 97, if the user enters a date that uses a two-digit year in the Custom tab of the Properties dialog box, the date will be formatted with a value between 1900 - 1999. As an example the user does the following:

Selects Properties or Database Properties from the File menu.

Clicks the Custom tab.

Enters a field name in the Name edit box.

Selects date from the Type list.

Enters the value 7/5/00 in the value field.

Clicks Add.

The date will appear in the properties list box as 7/5/1900, not 7/5/2000. For information check the Knowledge Base Article Q186261.

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.
Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit year formats.
Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Dates are parsed using OLE Automation. For more information, see the "OLE Automation Technology" Year 2000 compliance information document.

Two-digit shortcut handling:

Microsoft Access 97 interprets dates entered with a 2-digit shortcut to mean the 21st century in the following way.
1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999

Common date usage errors:

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format (mm/dd/yyyy), the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.


Testing guidelines and recommendations:

In general, avoid testing in a production environment because one cannot predict side effects with other products.
The following areas should be looked at to verify dates are being properly used. The table below can be useful in testing Microsoft Access 97 within your organization.

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

     

   

To find more information on date related issues for this product:

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q162745

ACC: How to Convert Between Julian Days and Dates

Q109703

ACC: How to Find the Number of Days in a Month

Q168793

HOWTO: Change the Short Date Format from Visual Basic

Q149127

ACC: How to Determine If a Date Falls on a Weekend or Holiday

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

 

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q169599

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM

Q155669

ACC:Years 00-29 Default to Year 2000 When Typed as M/D/YY

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q160575

ACC: Can't Paste Append Using Input Mask Based on Short Date

Q159323

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

Q142184

ACC: Conversion Errors Importing Dates with Different Formats

Q130580

Incorrect Date Value Added to Properties Custom Tab

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

Access 97 uses a number of Microsoft Office 97 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 97 please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 97 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 97  8.0   (Hungarian)

Product Summary
Product: Access 97 Version: 8.0 Category:Compliant*
Language: Hungarian OS: 32-Bit Win Release Date: N/A
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: Office 97 Service Release 2 and Microsoft Jet 3.5 Update
Product Dependencies: Windows 95, Windows 98, or Windows NT 3.51 with SP 5 or greater, or Windows NT 4 (no specific SP is required, though SP 2 is recommended)
Clock Dependencies: System clock
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 97 Service Release 2 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

Prerequisites:  

An acceptable deviation involving using Microsoft Access 97 to specify a two-digit date as a criteria in the QBE grid or in an object's property sheet has been discovered that may result in inconsistent dates depending on the system settings of the computer on which you run the query. For more information, and to download this update go to http://support.microsoft.com/support/kb/articles/Q172/7/33.asp

Download the Office 97 Service Release (SR) 2 Patch from http://officeupdate.microsoft.com/Articles/sr2fact.htm

The changes in Office 97 that were made in SR 2, including Y2K updates, are listed in http://support.microsoft.com/support/kb/articles/q151/0/20.asp. All Y2K issues reported as fixed in SR2 exist in SR1 and in the base Office 97 product. The issues addressed by this update exist in all Office 97 releases, including SR 1 and the base release.

 

 

How the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.
Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit year formats.
Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Dates are parsed using OLE Automation. For more information, see the "OLE Automation Technology" Year 2000 compliance information document.

Two-digit shortcut handling:

Microsoft Access 97 interprets dates entered with a 2-digit shortcut to mean the 21st century in the following way.
1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999

Common date usage errors:

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format (mm/dd/yyyy), the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.


Testing guidelines and recommendations:

In general, avoid testing in a production environment because one cannot predict side effects with other products.
The following areas should be looked at to verify dates are being properly used. The table below can be useful in testing Microsoft Access 97 within your organization.

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

     

   

To find more information on date related issues for this product:

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q162745

ACC: How to Convert Between Julian Days and Dates

Q109703

ACC: How to Find the Number of Days in a Month

Q168793

HOWTO: Change the Short Date Format from Visual Basic

Q149127

ACC: How to Determine If a Date Falls on a Weekend or Holiday

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

 

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q169599

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM

Q155669

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q160575

ACC: Can't Paste Append Using Input Mask Based on Short Date

Q159323

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

Q142184

ACC: Conversion Errors Importing Dates with Different Formats

Q130580

Incorrect Date Value Added to Properties Custom Tab

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

Access 97 uses a number of Microsoft Office 97 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 97 please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 97 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 97  8.0   (Italian)

Product Summary
Product: Access 97 Version: 8.0 Category:Compliant*
Language: Italian OS: 32-Bit Win Release Date: 01 Nov 1996
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: Office 97 Service Release 2 and Microsoft Jet 3.5 Update
Product Dependencies: Windows 95, Windows 98, or Windows NT 3.51 with SP 5 or greater, or Windows NT 4 (no specific SP is required, though SP 2 is recommended)
Clock Dependencies: System clock
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 97 Service Release 2 as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

Prerequisites:  

An acceptable deviation involving using Microsoft Access 97 to specify a two-digit date as a criteria in the QBE grid or in an object's property sheet has been discovered that may result in inconsistent dates depending on the system settings of the computer on which you run the query. For more information, and to download this update go to http://support.microsoft.com/support/kb/articles/Q172/7/33.asp

Download the Office 97 Service Release (SR) 2 Patch from http://officeupdate.microsoft.com/Articles/sr2fact.htm

The changes in Office 97 that were made in SR 2, including Y2K updates, are listed in http://support.microsoft.com/support/kb/articles/q151/0/20.asp. All Y2K issues reported as fixed in SR2 exist in SR1 and in the base Office 97 product. The issues addressed by this update exist in all Office 97 releases, including SR 1 and the base release.

 

 

How the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.
Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit year formats.
Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Dates are parsed using OLE Automation. For more information, see the "OLE Automation Technology" Year 2000 compliance information document.

Two-digit shortcut handling:

Microsoft Access 97 interprets dates entered with a 2-digit shortcut to mean the 21st century in the following way.
1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999

Common date usage errors:

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format (mm/dd/yyyy), the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.


Testing guidelines and recommendations:

In general, avoid testing in a production environment because one cannot predict side effects with other products.
The following areas should be looked at to verify dates are being properly used. The table below can be useful in testing Microsoft Access 97 within your organization.

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

     

   

To find more information on date related issues for this product:

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q162745

ACC: How to Convert Between Julian Days and Dates

Q109703

ACC: How to Find the Number of Days in a Month

Q168793

HOWTO: Change the Short Date Format from Visual Basic

Q149127

ACC: How to Determine If a Date Falls on a Weekend or Holiday

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

 

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q169599

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM

Q155669

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q160575

ACC: Can't Paste Append Using Input Mask Based on Short Date

Q159323

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

Q142184

ACC: Conversion Errors Importing Dates with Different Formats

Q130580

Incorrect Date Value Added to Properties Custom Tab

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

Access 97 uses a number of Microsoft Office 97 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 97 please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 97 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Microsoft Year 2000 Resource Center
Access 97  8.0   (Japanese)

Product Summary
Product: Access 97 Version: 8.0 Category:Compliant*
Language: Japanese OS: 32-Bit Win Release Date: 01 Nov 1996
Operational Range: 01 Jan 200 - 31 Dec 9999
Prerequisites: Office 97 Service Release 2 or the year 2000 software update in Office 97 and Microsoft Jet 3.5 Update
Product Dependencies: Windows 95, Windows 98 or Windows NT 3.51 with SP 5 or greater, or Windows NT 4 (no specific SP is required, though SP 2 is recommended)
Clock Dependencies: System clock
Last Updated: 29 Sep 1999
Product Details

Product Maintenance: While Microsoft continues to recommend that customers install the most current Service Pack/Release for non-Year 2000 reasons, we understand that, for many reasons, this may not be possible. In order to aid our customers’ Year 2000 efforts, Microsoft intends to maintain Office 97 Service Release 2 and Office 97 year 2000 software updates as compliant through January 1, 2001. Newer Service Packs are also to be maintained as compliant, and may include additional non-Year 2000 updates. This is intended to minimize the Year 2000 as a reason to upgrade.

Prerequisites:  

An acceptable deviation involving using Microsoft Access 97 to specify a two-digit date as a criteria in the QBE grid or in an object's property sheet has been discovered that may result in inconsistent dates depending on the system settings of the computer on which you run the query. For more information, and to download this update go to http://support.microsoft.com/support/kb/articles/Q172/7/33.asp

Download the Office 97 Service Release (SR) 2 Patch from http://officeupdate.microsoft.com/Articles/sr2fact.htm The changes in Office 97 that were made in SR-2, including year 2000 updates, are listed in http://support.microsoft.com/support/kb/articles/q151/0/20.asp. All year 2000 issues reported as fixed in SR-2 exist in SR-1 and in the base Office 97 product. The issues addressed by this update exist in all Office 97 releases, including SR-1 and the base release.

Note: to install Office 97 SR-2, Office 97 SR-1 is required. Microsoft has prepared a year 2000 software update only for customers who have not installed Office 97 SR-1.

You can download this software update from the following site:

http://www.microsoft.com/japan/office/OfficeFreeStuff/Office/O97y2k/default.htm

This update software is the same as the year 2000 software update in Office 97 SR-2.

How the product handles dates:

Storage. Microsoft Access stores the Date/Time data type as a double-precision, floating-point number (up to 15 decimal places). The integer portion of the double-precision number represents the date; the decimal portion represents the time. See Knowledge Base article Q130514 for extended information.
Microsoft Access relies on the Jet database to store data. It uses shared VBA components to perform calculations on Date/Time data.

Formatting. Dates can be input in pre-defined and custom input formats, via an Input Mask. Input Masks enforce date entry in a particular format. Input Mask pre-defined formats include a Short Date format, which defaults to the Short Date format in the Regional Settings of the Control Panel when the mask is created. A custom Input Mask can be created to limit date entry to only 4-digit years. Microsoft Access does not require an Input Mask to enter dates. If an Input Mask is not used, the default behavior, dates can be entered in 2- or 4-digit year formats.
Dates can be displayed in pre-defined and custom formats, using the Format property and Format function. By default, dates are displayed in General Date format, which is a combination of Short Date and Short Time, as specified in the Regional Settings applet of the Control Panel. The General Date format will display dates inside of the 1930-2029 date window with two-digit years, dates outside this window will be displayed with four-digit years. Custom formats can be created to display years as 4-digits.

Parsing on date entry. Dates are parsed using OLE Automation. For more information, see the "OLE Automation Technology" Year 2000 compliance information document.

Two-digit shortcut handling:

Microsoft Access 97 interprets dates entered with a 2-digit shortcut to mean the 21st century in the following way.
1/1/00 through 12/31/29 are interpreted as 1/1/2000 through 12/31/2029
1/1/30 through 12/31/99 are interpreted as 1/1/1930 through 12/31/1999

Common date usage errors:

Using the Short Date Input Mask will limit the ability of users to enter dates outside of the 2-digit year shortcut range (see the above section on 2-digit shortcuts).
Use Date/Time fields in tables to store date data. Avoid using Text fields to store date data.
Use a 4-digit year format to display dates. Avoid the use of the Short Date format (mm/dd/yy). Use the Long Date format (mm/dd/yyyy), the Short Date format in conjunction with the Regional Settings in the Control Panel, or a custom format to display all digits of the year (mm/dd/yyyy).
Text export, including the use of the VBA TransferText, method should always be set for export of four digit years.

Testing guidelines and recommendations:

In general, avoid testing in a production environment because one cannot predict side effects with other products.
The following areas should be looked at to verify dates are being properly used. The table below can be useful in testing Microsoft Access 97 within your organization.

TransferText, Import/Export

Tables, Queries, Forms, Reports, Macros, Modules

Import and Export of text files is available using the menus, the Transfer Text Macro Action, and in VBA code using the TransferText method.  Date data in 2-digit and 4-digit year format can be imported and exported using an Import/Export Specification. By default, dates are exported in a 2-digit year date format. The 4-digit year format can be selected when creating an Import/Export Specification.

Indexes

Tables

Date and time values can be indexed, and can require unique values.

Format

Tables, Queries, Forms, Reports, Modules

Provides formatting of Date/Time data in Tables, Queries, Form, Reports, and VBA Code. Exists as a property for Table, Query, Form and Report fields. Also implemented as an intrinsic function, Format(). Formats based on Regional Settings in Control Panel: Long Date, Short Date, Long Time Access Intrinsic Formats: General Date, Medium Date, Medium Time, Short Time Custom Formats: Any combination of month, day, year, and time

Input Mask

Tables, Queries, Forms, Reports, Modules

Limits user data entry to specific values. Values for Input Mask are derived from combinations of token characters such as (0, 9, and X), similar to custom Format properties. However, the validation and formatting of date data is done after the user has entered the data into the input masked field. Wizard defined input masks include: Short Date, Medium Date, Short Time, Medium Time, Long Time

Validation Rule

Tables, Queries, Forms

A Validation Rule is an expression that Access uses to verify data entered by the user. The Validation Rule expression can use Date/Time data from fields and perform comparisons on calculated date values.

Aggregate Queries

Queries

Users can group and sort queries on Date/Time fields. Aggregate queries also allow Date/Time fields to have totals calculated for the group date. The calculations allowed are: Sum, Avg, Min, Max, Count, StDev, Var, First, Last

Domain Functions

Queries, Forms, Reports, Modules

The Domain functions perform lookups and calculations on data and return the results. These functions are DAvg, DCount, DLookup, DFirst, DLast, DMin, DMax, DStDev, DStDevP, DSum, DVar, and DVarP.

Insert Date & Time

Forms, Reports

Inserts a calculated field that uses the Format function on the value of Date().

Charting

Forms, Reports

Forms and Reports can display charts that display Date/Time data based on a record source provided by Access.

Calendar Control

Forms, Reports, Modules

Value property allows user to get and set dates on calendar. Year is displayed as four digits.

Report Grouping

Reports

Reports can group and sort Date/Time data based on Each Value, Year, Qtr, Month, Week, Day, Hour, Minute.

Day(), Month(), Year(), WeekDay()

Queries, Forms, Reports, Modules

Parses Date/Time data.

Date(), Now()

Queries, Forms, Reports, Modules

Returns Date, and Date and Time

DateAdd(), DateDiff()

Queries, Forms, Reports, Modules

Performs calculations on Date/Time data.

LastUpdated, DateCreated properties

All database objects

Date/Time stamp of last update and object creation, provided by DAO.

CDate()

Queries, Forms, Reports, Modules

Valid ranges are -657434 (1/1/100) to 2958465 (12/31/9999). Time is stored in the decimal portion of the number.

     

   

To find more information on date related issues for this product:

     

How To Articles

Q162718

HOWTO: Prepare Visual Basic Applications for the Year 2000

Q162745

ACC: How to Convert Between Julian Days and Dates

Q109703

ACC: How to Find the Number of Days in a Month

Q168793

HOWTO: Change the Short Date Format from Visual Basic

Q149127

ACC: How to Determine If a Date Falls on a Weekend or Holiday

Q149095

ACC: How to Format Dates Regardless of Regional Settings

Q141536

ACC: How to Convert Short Time Format to Different Formats

Q132101

ACC: How to Get the Fiscal Year/Month of a Particular Date

Q95907

ACC: How to Display Only the Last Two Digits of Any Year

Q92816

ACC: Converting Julian Dates with Visual or Access Basic Code

Q88657

ACC: Functions for Calculating and Displaying Date/Time Values

Q103138

ACC: Function to Get Date of Monday Prior to Current Day

Q100136

ACC: Two Functions to Calculate Age in Months and Years

     

 

     

Informational Articles

Q130514

ACC: Storing, Calculating, and Comparing Date/Time Data

Q98802

ACC: Date/Time Data Type Provides Current Year Automatically

Q169599

ACC: Calendar Control Adds One Day When Time Is After 12:00 PM

Q155669

ACC: Years 00-29 Default to Year 2000 When Typed as M/D/YY

Q142009

ACC: How Windows Regional Settings Affect Microsoft Access

     

Other Date Issues

Q114832

ADT/ODE: Calendar Control Cannot Format Individual Dates

Q96897

ACC: Operation Stops When Editing Attached SQL Tables

Q160575

ACC: Can't Paste Append Using Input Mask Based on Short Date

Q159323

ACC: Importing Text File with Dates in DDMMMYY Format (95/97)

Q142184

ACC: Conversion Errors Importing Dates with Different Formats

Q130580

Incorrect Date Value Added to Properties Custom Tab

Q106290

ACC: Using Format() and Month() Returns Incorrect Month

Q103174

ACC: Exporting Date Fields to Text Includes Time Format

Q173097

ACC: Query w/Time Criteria Returns No Records from MS SQL Server

Access 97 uses a number of Microsoft Office 97 shared files for the implementation of dialogs and toolbars, task automation, online help, installation, graphics, file find and file I/O. For additional information that is appropriate for Access 97 please refer either to the document for the particular Office version that this application came with, or, in the case of a standalone product, to any version 97 Microsoft Office document.


Legend of Symbols:
*The product is compliant. User action is recommended, which may include loading a software update or assessing shared technology.
#The product is compliant with an acceptable deviation from Microsoft's standard of compliance. An acceptable deviation does not affect the core functionality, data integrity, stability or reliability of the product.
+The product is compliant . Software updates are pending. Future maintenance actions will be recommended shortly.
Note: Compliance ratings given for each product assume that all recommended actions have been taken.


Itemized List of products in each Volume

YEAR 2000 READINESS DISCLOSURE

ALL COMMUNICATIONS OR CONVEYANCES OF INFORMATION TO YOU CONCERNING MICROSOFT AND THE YEAR 2000, INCLUDING BUT NOT LIMITED TO THIS DOCUMENT OR ANY OTHER PAST, PRESENT OR FUTURE INFORMATION REGARDING YEAR 2000 TESTING, ASSESSMENTS, READINESS, TIME TABLES, OBJECTIVES, OR OTHER (COLLECTIVELY THE "MICROSOFT YEAR 2000 STATEMENT"), ARE PROVIDED AS A "YEAR 2000 READINESS DISCLOSURE" (AS DEFINED BY THE YEAR 2000 INFORMATION AND READINESS DISCLOSURE ACT) AND CAN BE FOUND AT MICROSOFT'S YEAR 2000 WEBSITE LOCATED AT http://microsoft.com/year2000/ (the "Y2K WEBSITE"). EACH MICROSOFT YEAR 2000 STATEMENT IS PROVIDED PURSUANT TO THE TERMS HEREOF, THE TERMS OF THE Y2K WEBSITE, AND THE YEAR 2000 INFORMATION AND READINESS DISCLOSURE ACT FOR THE SOLE PURPOSE OF ASSISTING THE PLANNING FOR THE TRANSITION TO THE YEAR 2000. EACH MICROSOFT YEAR 2000 STATEMENT CONTAINS INFORMATION CURRENTLY AVAILABLE AND IS UPDATED REGULARLY AND SUBJECT TO CHANGE. MICROSOFT THEREFORE RECOMMENDS THAT YOU CHECK THE Y2K WEBSITE REGULARLY FOR ANY CHANGES TO ANY MICROSOFT YEAR 2000 STATEMENT. EACH MICROSOFT YEAR 2000 STATEMENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. CONSEQUENTLY, MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. MOREOVER, MICROSOFT DOES NOT WARRANT OR MAKE ANY REPRESENTATIONS REGARDING THE USE OR THE RESULTS OF THE USE OF ANY MICROSOFT YEAR 2000 STATEMENT IN TERMS OF ITS CORRECTNESS, ACCURACY, RELIABILITY, OR OTHERWISE. NO ORAL OR WRITTEN INFORMATION OR ADVICE GIVEN BY MICROSOFT OR ITS AUTHORIZED REPRESENTATIVES SHALL CREATE A WARRANTY OR IN ANY WAY DECREASE THE SCOPE OF THIS WARRANTY DISCLAIMER. IN NO EVENT SHALL MICROSOFT OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER REGARDING ANY MICROSOFT YEAR 2000 STATEMENT INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS, PUNITIVE OR SPECIAL DAMAGES, EVEN IF MICROSOFT OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES, SO THE FOREGOING LIMITATION MAY NOT APPLY TO YOU. THE INFORMATION CONTAINED IN EACH MICROSOFT YEAR 2000 STATEMENT IS FOUND AT THE Y2K WEBSITE AND IS INTENDED TO BE READ IN CONJUNCTION WITH OTHER INFORMATION LOCATED AT THE Y2K WEBSITE, INCLUDING BUT NOT LIMITED TO MICROSOFT'S YEAR 2000 COMPLIANCE STATEMENT, THE DESCRIPTION OF THE CATEGORIES OF COMPLIANCE INTO WHICH MICROSOFT HAS CLASSIFIED ITS PRODUCTS IN ITS YEAR 2000 PRODUCT GUIDE, AND THE MICROSOFT YEAR 2000 TEST CRITERIA.

ANY MICROSOFT YEAR 2000 STATEMENTS MADE TO YOU IN THE COURSE OF PROVIDING YEAR 2000 RELATED UPDATES, YEAR 2000 DIAGNOSTIC TOOLS, OR REMEDIATION SERVICES (IF ANY) ARE SUBJECT TO THE YEAR 2000 INFORMATION AND READINESS DISCLOSURE ACT (112 STAT. 2386). IN CASE OF A DISPUTE, THIS ACT MAY REDUCE YOUR LEGAL RIGHTS REGARDING THE USE OF ANY SUCH STATEMENTS, UNLESS OTHERWISE SPECIFIED BY YOUR CONTRACT OR TARIFF.

Wednesday, November 17, 1999
© 1999 Microsoft Corporation. All rights reserved. Terms of use.

This site is being designated as a Year 2000 Readiness Disclosure and the information contained herein is provided pursuant to the terms hereof and the Year 2000 Information and Readiness Disclosure Act.