### Get DatePicker Value

As from B4J v4.00 the B4J Visual Designer includes a DatePicker View.
`Sub Process_Globals
Private DatePicker1 As DatePicker
...
End Sub`
'Get the DatePicker Date
Log(DateTime.Date(DatePicker1.DateTicks))
(Not recommended) Using API methods
As from JavaFX 8 a DatePicker is introduced.
Reference: http://docs.oracle.com/javase/8/javafx/api/javafx/scene/control/DatePicker.html
'Return the date in format YYYY-MM-DD, e.g. 2018-01-01
`Sub GetDatePickerValue(dp As DatePicker) As String
'Declare the JavaObject as assign the DataPicker node
Dim jo As JavaObject = dp
'Get the value using the getValue()
Return jo.RunMethod("getValue", Null)
End Sub`

Changed: , Category: DatePicker JavaFX 8, File: T6C182M1312.htm, ID: 1312