I have a timestamp column. Say I want to get the rows where the day number in the year is < 50
Where Jan 1 = 1 and Dec 31 = 366
So the function is not year specific, I want to get the results between a day range e.g. 50 and 100 for all years.
Example
Timestamp
- 2012-02-01
- 2011-02-01
- 2012-04-01
So retrieving those results where DAY < 50 would return results: 1 and 2 but NOT 3.
Try this: