# Editing Items

You can edit the description or the time of an item. For example, to change the description and set the time to the start of today, call the `edit` command with the item identifier,  new description and time.

```
$ wdid edit a9fi3q "my new description" -t day
```

If you do not provide a new description but just the [time](https://j-osler.gitbook.io/wdid/advanced/time-format), wdid will just update that:

```
$ wdid edit a9f -t day
```

{% hint style="info" %}
Note here that we can use the item ID prefix, similarly to how we can [view](https://j-osler.gitbook.io/wdid/viewing-items-1#show) with a prefix.
{% endhint %}

### Editing Longer Items

If you don't provide a time or a description, wdid will open the item in an editor, `$EDITOR` environment variable (default vim).

```
$ wdid edit a9fi3q
```
