If the current date is February 10, 2010, the following queries return the value 41 as the result since February 10, 2010 is the 41st day from the beginning of the year.
SELECT td_day_of_year(CURRENT_DATE); SELECT td_day_of_year(DATE '2010-02-10');
If the current date is February 10, 2010, the following queries return the value 41 as the result since February 10, 2010 is the 41st day from the beginning of the year.
SELECT td_day_of_year(CURRENT_DATE); SELECT td_day_of_year(DATE '2010-02-10');