Hello,
i'm having a problem which is probably very simple but i can't seem to find the solution.
I have Oracle database field where i need to store a date. The format is "dd-mon-yyyy hh24:mi".
I select the date from a dateTimePicker and then i add the time from a combobox (cboTime) value.
Then I need to insert "dateStart" into the database. No problem.
But I also need to insert dateEnd. And that's the problem, I have a value (like 95 minutes, it's an integer) that I need to add to the time from the startDate.
Like: dateStart = 31/jan/2006 17:00
Now I need dateEnd = 31/jan/2006 18:35
Does anyone know how I can do this?
i'm having a problem which is probably very simple but i can't seem to find the solution.
I have Oracle database field where i need to store a date. The format is "dd-mon-yyyy hh24:mi".
I select the date from a dateTimePicker and then i add the time from a combobox (cboTime) value.
VB.NET:
dateSelected = Format(CDate(dtpProgDatum.Value), "dd-MMM-yyyy")
dateStart = dateSelected & " " & cboTime.Text
But I also need to insert dateEnd. And that's the problem, I have a value (like 95 minutes, it's an integer) that I need to add to the time from the startDate.
Like: dateStart = 31/jan/2006 17:00
Now I need dateEnd = 31/jan/2006 18:35
Does anyone know how I can do this?