I'm looking for a way to get the first and the last calendar day in french locale for a given year on Oracle.
For example, the first calendar day of 2020 is 30/12/2019 (because its the monday of week 1 of 2020) and the last calendar day is 03/01/2021 (because its the sunday of week 53 of 2020).
I got plenty of solutions for 01/01/2020 and 31/12/2020 but not for the calendar first and last day.
I tried with to_date with select trunc(to_date('1 2020','IW YYYY'), 'YEAR') from dual; but got ORA-01820 error code.
with select to_date('1 2020','DDD YYYY') from dual; i got 01/01/20 00:00:00
Thanks you for help.