thierryverstraete
Vendor
Dear user community,
I have a database field defined as a string with example content of '06/30/2009 15:15' (quotes not included in database field). My challenge is to perform date caculations using this date converted string in such a way that I can substract another date. I suspect that it may require the use of the to_date function but when I try e.g. to_date(example string, 'mm/dd/yyyy hh:mm') it complains about the month being invalid. The data is pulled from an Oracle 10g database.
Any help appreciated.
I have a database field defined as a string with example content of '06/30/2009 15:15' (quotes not included in database field). My challenge is to perform date caculations using this date converted string in such a way that I can substract another date. I suspect that it may require the use of the to_date function but when I try e.g. to_date(example string, 'mm/dd/yyyy hh:mm') it complains about the month being invalid. The data is pulled from an Oracle 10g database.
Any help appreciated.