ACC2: DatePart(), DateDiff() Functions Ignore Global Settings (121012)
The information in this article applies to:
This article was previously published under Q121012 Novice: Requires knowledge of the user interface on single-user computers.
SUMMARY
In Microsoft Access, you can use the First Week and First Weekday options
settings to specify values other than the default values of January 1 for
the first week, and Sunday for the first week day.
If you do use these option settings to change the default values, you must
specify the optional setting when you use either the DatePart() or the
DateDiff() function.
To change these option settings, click Options on the View menu, select
General in the Category box, and then in the Items box select the option
you want to change.
REFERENCES
For more information about the DateDiff function, search the Help Index for
"DateDiff function."
For more information about DatePart function, search the Help Index for
"DatePart function."
Modification Type: | Major | Last Reviewed: | 6/24/2002 |
---|
Keywords: | kbinfo kbusage KB121012 |
---|
|