Error Messages/40361

< Error Messages
Revision as of 00:42, 27 January 2010 by AManandhar (talk | contribs) (Created page with '= Error Message Examples = Bad date unit to DateAdd. The third parameter must be "Y", "M", "D", "WD", "h", "m", or "s". Note that "M" is case sensitive with "M" for months an…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Error Message Examples

Bad date unit to DateAdd. The third parameter must be "Y", "M", "D", "WD", "h", "m", or "s". 
Note that "M" is case sensitive with "M" for months and "m" for minutes.

Cause

The third parameter, unit, passed to the [[[DateAdd]] function was not recognized. The following values can be passed as the third parameter:

  • "Y" : Years
  • "M" : Months
  • "D" : Days
  • "WD": Weekdays
  • "h" : Hours
  • "m" : Minutes
  • "s" : Seconds

Remedies

Correct the third parameter passed to the DateAdd function.



You are not allowed to post comments.

Comments
<comments />