# EndDate

The end time of the time period that you want to retrieve data for. Specify either:

- A date in the format `YYYY-MM-DD HH:NN`, and in the UTC time zone.

- A time duration, to make the end time relative to the time when the synchronize task starts.

  To specify a time duration

  The value of this parameter is a time duration. Specify a value using one or more of the following units:

           years      y
           months     m
           weeks      w
           days       d
           hours      h
           minutes    n
           seconds    s

  Note that months abbreviates to m, minutes to n. If you want to specify the value in seconds, units are not required.

  For example, all of the following are equivalent:

           1minute 3seconds
           1n 3s
           63s
           63

Alternate Name: | `RelativeEndDate`
Type: | String or Time Duration
Default: |
Required: | Yes, required for historical mode
Allowed Range: | The value of this parameter must specify a time after StartDate. Relative values must be negative.
Configuration Section: | TaskName or FetchTasks or Default
Example: | The following example configures the connector with a fixed end date: `EndDate=2015-10-30 23:59` The following example configures the connector to retrieve data related to a time period that ended 5 days before the start of the synchronize task: `EndDate=-5 days`
See Also: | StartDate

_FT_HTML5_bannerTitle.htm