A (JS) way to get current time from an audio recording in progress

I’d like to have a hotkey that pulls the current time stamp from an audio recording in progress, so I can take notes while recording audio and tag them with time stamps.

Can I access this information through JS? with Templater?