Difference between revisions of "Error Messages/40360"
(Created page with "= 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', '...") |
|||
Line 1: | Line 1: | ||
− | + | [[Category: Error messages]] | |
− | + | == Warning message == | |
− | = Cause = | + | <pre style="background:white; border:white; margin-left: 1em; font-style:italic"> |
+ | 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'. | ||
+ | </pre> | ||
+ | |||
+ | == Cause == | ||
You have an expression such as: | You have an expression such as: | ||
− | :<code> | + | :<code>DatePart(the_date, 'day')</code> |
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. | 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 = | + | == See Also == |
− | + | * [[Function calls and parameters]] | |
+ | * [[Function parameter qualifiers]] | ||
* [[DatePart]] | * [[DatePart]] |
Revision as of 19:13, 28 March 2016
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