ADD_MONTHS - Can I add half a month onto a date?
Hi
I need to add half a month onto a date field, i.e.
If the day is the '15th' e.g. 15/12/2004, then set the final date to be 01/01/2005 (1st of the next month)
If the day is the 1st e.g. 01/12/2004, then set the final date to be 15/12/2004. (15th of the same month)
I have tried to use ADD_MONTHS (date_field, 0.5), however this brings back the date field value with nothing added on. I think it rounds it down to 0.
Can anyone please help with a solution for this?
Thanks
GB