Hello,
i have the following
SfDateTimeEdit
DateTimeEditingMode = Mask
DateTimePatter = Custom
Format = dd/MM/yyyy H:mm
i am trying to convert to Mysql readable yyyy-mm-dd hh:mm:ss
but it doesnt allow me to get the correct time when converting
the code i have is
Dim date As String = Convert.ToDateTime(SfDateTimeEdit3.Value).ToString("yyyy-MM-dd H:mm:ss")
it converts fine if the editing mode is default but i then cannot rely on the user putting the : between causing it to default to 00:00
Any help on this matter would be fantastic.