---
title: getModified
slug: campaign/docs/getmodified
docTags: 
createdAt: 2026-07-02T19:01:47.121Z
---

**Type**: Date

**Parameters**

| Name      | Type   | Value                     |
| --------- | ------ | ------------------------- |
| sessionId | String | ID of the current session |
| blockId   | long   | ID of the coupon block    |

**Return values**

The last modification date of the coupon block

**Code structure**

```javascript
Date getModified(String sessionId, long blockId)
```
