I have a query that calls Oracle DB with C #. I want to write a request to get data, maximum 5 years.
I currently have a hard coded value for public const int FIVE_YEARS_IN_DAYS = 1825;
But this is not true due to leap years. Is there a function that will give me the correct number of days in the previous 5 years?
source share