# set_next_block_time_delta · Rell standard library · Chromia Docs (concept)

> function set_ next_ block_ time_ delta(delta: integer ): unit Set the timestamp that the next block will have, once built, relative to the previous block, 

Source: https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/rell.test/set_next_block_time_delta/

FUNCTION

# set\_next\_block\_time\_delta

```signature
function set_next_block_time_delta(delta: integer): unit
```

Set the timestamp that the next block will have, once built, relative to the previous block, in
milliseconds.

Calling `rell.time.set_next_block_time_delta(x)` means the next block will have timestamp `x`
milliseconds after the timestamp of the previous block.

`rell.test.set_next_block_time_delta(delta)` is equivalent to
`rell.test.set_next_block_time(rell.test.last_block_time + delta)` if there is a previous block.
Otherwise, this does nothing.

**Parameters**

* **delta** — the time delta between the previous and next block

**Throws**

* `exception` — if `delta` is less than `1`

**See Also**

1. [`rell.test.set_next_block_time()` - Rell Standard Library](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/rell.test/set_next_block_time/)
2. [`rell.test.block` - Rell Standard Library](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/rell.test/block/)

Since 0.13.3

[View this page on docs.chromia.com](https://docs.chromia.com/pages/rell-stdlib/-rell%20-system%20-library/rell.test/set_next_block_time_delta.html)Generated API reference, mirrored from the live docs
