# Easiest Way to Add Date in a File in Vim/Neovim

To add the current date and time to a file in Vim / Neovim use the following command in command mode

```plaintext
:.!date
```
