---
title: getCreated
slug: campaign/dev-docs/getcreated-couponblock
createdAt: 2026-08-06T15:53:43.481Z
---

**Type**: Date

**Parameters**

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

**Return values**

The creation date of the coupon block

**Code structure**

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