Error Messages/40360
Warning Message
- Unrecognized part code 'day' to DatePart. The second parameter, «part», to DatePart, must be one of the following: 'y', 'yy', 'M', 'MM', 'MMM', 'MMMM', 'dd', 'ddd', 'dddd', 'Dddd', 'q', 'w', 'www', 'wwww', 'wd', 'wd+', 'wd-', '#wd', '#wd-', '#wd+', '#d', '#w', #wm', 'e#w', or 'e#wm'.
Cause
You have an expression such as:
DatePart( the_date, 'day' )
and the second parameter ('day' in this example) is not one of the recognized codes. See the page on DatePart for a listing of the possible codes.
See Also
Comments
Enable comment auto-refresher