I am trying to assign a string containing the date string to a Oracle Parameter.
txtCommence.Text = '31//05/2018' --value is from the textbox
cmd.Parameters.Add(New OracleParameter(":pCommencementDate", OracleDbType.TimeStamp)).Value = txtCommence.Text
The timestamp in the table is stored as DD-MON-RR HH.MI.SSXFF AM. How to convert the string value in the txtcommence.text to the required format in the table?