scripts in vi

Página Inicial
Anexos:
Mensagem como email
+ (text/plain)
Delete this message
Reply to this message
Autor: Greg
Data:  
Assunto: scripts in vi
I would like to know how to execute scripts in vi.
Can someone help me with this?

For example a script that would insert a date into a document.

Greg