# 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: |

© Copyright 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm