Difference between revisions of "Error Messages/40360"

(Added EEE, EEEE part options)
(Possible cause)
 
Line 18: Line 18:
  
 
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 ==
 
== See Also ==

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


You are not allowed to post comments.