# system.kanoa.event.getPreviousModeEvent(assetId, tStamp)

This will return the modeEvent table entry prior to the passed in timestamp

---
### Parameters
**assetId** `Integer`: Id of asset<br />
**tStamp** `DateTime`: Time stamp to search prior to<br />

---
### Returns
**modeEventData** `pyDataset`<br />

---
### Example
```python
assetId = 123
tStamp = system.date.now()
previousModeEvent = system.kanoa.event.getPreviousModeEvent(assetId, tStamp)
```
