# LastExecution Property

## Overloads

| [LastExecution](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.TaskStatusFilter.LastExecution.htm#PIX_QMSAPI_DataObjects_TaskStatusFilter_LastExecution) |  | The Date/Time interval of the last execution date. Only tasks with a last execution date within the interval will be returned. |
| --- | --- | --- |

[](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.TaskStatusFilter.LastExecution.htm) [](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.TaskStatusFilter.LastExecution.htm)

## LastExecution

The Date/Time interval of the last execution date. Only tasks with a last execution date within the interval will be returned.

### Declaration

```

          public TaskStatusFilter.LastExecutionInterval LastExecution { get; set; }
    
  
```

### Property Value

| Type | Description |
| --- | --- |
| [TaskStatusFilter.LastExecutionInterval](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.TaskStatusFilter.LastExecutionInterval.htm) |  |

### Remarks

Setting the To/From properties of LastExecution to DateTime.MinValue will match tasks which has never executed.