> For the complete documentation index, see [llms.txt](https://docs.fieldmotion.com/fieldmotion-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fieldmotion.com/fieldmotion-api-docs/jobs/_listbydatetimerange.md).

# \_listbyDateTimeRange

Get list of Job IDs filtering by date range

### Parameters

#### from

Date-time in format yyyy-mm-dd hh:mm:ss

#### to

Date-time in format yyyy-mm-dd hh:mm:ss

### Example

```
FM_api('Jobs_listByDateTimeRange', [
	'from' => '2019-09-01 00:00:00',
	'to' => '2019-09-02 23:59:59',
]);
```

### Result

```
[1,2,3,4,5,6]
```
