# DateFormat

The date format to use when constructing documents for indexing. You must also use this date format in documents that you insert with the `insert` fetch action.

The format is defined according to the rules of the Java class `SimpleDateFormat`. For more information about this class, refer to the Java documentation.

Type: | String
Default: | `EEE MMM dd HH:mm:ss zzz yyyy` (for example Mon Oct 27 15:01:14 GMT 2014)
Required: | No
Configuration Section: | TaskName or FetchTasks
Example: | `DateFormat=EEE MMM dd HH:mm:ss zzz yyyy`
See Also: |

_FT_HTML5_bannerTitle.htm