Specifying Parameter Values of Type xsdDateTime or xsdDate
If you are running a report that requires a parameter of type xsdDateTime
or xsdDate
, you must ensure that the parameter value you specify has the correct format.
Parameter values of type xsdDateTime
must have the format YYYY-MM-DDThh:mm:ss.fff as specified in section 5.4 of ISO 8601 (also known as Coordinated Universal Time, or UTC). The date and time portions are separated by the letter T. Note that fractional seconds are optional. Examples of xsdDateTime
values are 2001-12-31T17:35:00.000
and 2001-12-31T17:35:00
.
Parameter values of type xsdDate
must be specified in the same format as the first portion of the xsdDateTime
data type (YYYY-MM-DD). An example of an xsdDate
value is 2001-12-31
.