What happens when you execute the date command by itself in a terminal?
date +” [\%H:\%M]
For gt, you can add an <Esc> at the end to take you out of insert mode. The map macros a shortcut for a set of keys that you would type normally.
So you can test out what keystrokes you want to do and then make those into a macro.