How to get the current time from the Animation View?

I have an editor script that duplicates animation events in the Animation View editor. However, I would like to place the duplicated event into the clip at the time currently shown in the Animation View.
Is it possible to get the time the wiper is currently at in the Animation View in the editor?

UnityEditor.EditorWindow.GetWindow().time;