To insert time-stamp in a file, you can exit from edit mode and type:

:r! date