Skip to content

Instantly share code, notes, and snippets.

@seiji
Created March 3, 2012 15:49
Show Gist options
  • Save seiji/1966782 to your computer and use it in GitHub Desktop.
Save seiji/1966782 to your computer and use it in GitHub Desktop.
(defun insert-datetime ()
(interactive "P")
(insert (format-time-string "%Y-%m-%d %H:%M:%SZ" nil "Z")))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment