title: How to display day from selected date using javafx?
body: <p>I want to know the code how to get the day name of a selected date which select from the datepicker to a textfield using javafx and scenebuilder.</p>
  
  <p>I use “Windows 10,  MySQL 5.7.</p>
  
  <p>this is what i tried. I want to get the day name of date in "txtDate" and set it to txtDay instead of adding it manually.</p>
  
  <p>name of the datepicker field is txtDate)
  name of the text field is txtDay)</p>
  
  <p><a href="https://i.stack.imgur.com/MIIMp.png" rel="nofollow noreferrer">enter image description here</a></p>