I work on a database for a non Profit that runs two events a year. These events take place in December of year 20XX and April of year 20XX +1. I am trying to write the code for a query that will have the date criteria such that it is like
#12/1/20XX# to #5/1/20XX+1# to cover both events.
I can of course hard code that but looking for programatic solution that takes the value of NOW() and creates the both of the dates for the date range for the query.
#12/1/20XX# to #5/1/20XX+1# to cover both events.
I can of course hard code that but looking for programatic solution that takes the value of NOW() and creates the both of the dates for the date range for the query.