Bcastner, AutoHotkey has predefined variables for date/time, such as A_YYYY, A_MM, A_DD (year, month, day) and A_Hour, A_Min, A_Sec (hour, minute, second), as well as A_Now which returns YYYYMMDDHHMMSS.
So, a simple two-line AutoHotkey macro to accomplish the task would be:
!::
Send %A_Now%
Now, with this macro active, whenever you press the “!” key, the YYYYMMDDHHMMSS information is inserted into whatever window is active, just as if you had typed it at the keyboard. Of course, you can assign this macro to any key. Additionally, if you wish the date/time information to be formatted differently, then that’s easy to accomplish.
Does this answer the inquiry?