How could I get all the transactions which took place from the begining of the Year to Current date excluding current date and if the query is executed on Jan 1st of the year 2004 then all transactions of the previous whole year should be displayed and if the query is executed on March 14th 2004 then all transactions from Jan 1st till March 14th 2004 should be displayed excluding that current day.