Eh? TextAreas hold text, not dates.
Are you describing the following use case? The TextArea has some text in it, including some text that might describe a date. The user selects some or all of the text (by dragging the cursor and highlighting some or all of the text). That text, if it describes a date, is used to create a Date object.
?