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', '...") |
(Possible cause) |
||
(2 intermediate revisions by 2 users not shown) | |||
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', 'EEE', 'EEEE', '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. | ||
− | = | + | === 'EEE' and 'EEEE' === |
+ | The part codes <code>'EEE'</code> and <code>'EEEE'</code> are new to [[Analytica 5.0]]. This warning might occur if you are using a model from 5.0 or later in 4.6 or earlier and the model uses one of these part codes. | ||
+ | == See Also == | ||
+ | * [[Function calls and parameters]] | ||
+ | * [[Function parameter qualifiers]] | ||
* [[DatePart]] | * [[DatePart]] |
Latest revision as of 18:54, 10 August 2017
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', 'EEE', 'EEEE', '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.
'EEE' and 'EEEE'
The part codes 'EEE'
and 'EEEE'
are new to Analytica 5.0. This warning might occur if you are using a model from 5.0 or later in 4.6 or earlier and the model uses one of these part codes.
See Also
Comments
Enable comment auto-refresher