> **Can't find what you're looking for?** Use `search_docs` on the docs MCP server at `https://www.getfoundry.sh/api/mcp` to find what you need.
>
> **Have feedback?** Use `submit_feedback` on the same MCP server.

## `rewind`

### Signature

```solidity
function rewind(uint256 time) public;
```

### Description

Rewinds `block.timestamp` by the specified number of seconds.

### Examples

```solidity
assertEq(block.timestamp, 3600);
rewind(3600);
assertEq(block.timestamp, 0);
```
