Skip to content

Instantly share code, notes, and snippets.

@jmbeach
Forked from JamoCA/autohotkey_paste_date.ahk
Created June 24, 2016 14:24
Show Gist options
  • Save jmbeach/bde97bfd0d7141c5ca280a2fd81eae38 to your computer and use it in GitHub Desktop.
Save jmbeach/bde97bfd0d7141c5ca280a2fd81eae38 to your computer and use it in GitHub Desktop.
Autohotkey shortcuts to paste current date & time as either a 14 digit date hash (YYYYMMDDHHMMSS) or using formatting.
; Paste Date/time stamp as YYYYMMDDHHMMSS hash (Ctrl ;)
^;:: Send, %A_Now%
return
; Paste personally preferred formatted date/time stamp (Ctrl Shift ;)
^+;::
FormatTime,CurrentTime,%A_Now%,M/d/yyyy HH:mm:ss
Send, %CurrentTime%
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment