Possible to Identify Cursor Location in WebTextArea?

My goal is to have a button that allows the user to insert today’s date at the current cursor location when editing text in a WebTextArea. I know how to insert text at a location, but I do not know how to find the current location after the user has typed content within the control (not always at the end of the text - so append isn’t the right answer).

Is there a way to get the current cursor location?