I need to
find out the first day of the previous calender year and
the last day of the previous calender year.
The following code finds out the the last day of the previous calender year.
SELECT convert(varchar,dateadd(dd,-1,'1/1/'+datename(yy,getdate())))
I need help with finding out the first day of the previous calender year
find out the first day of the previous calender year and
the last day of the previous calender year.
The following code finds out the the last day of the previous calender year.
SELECT convert(varchar,dateadd(dd,-1,'1/1/'+datename(yy,getdate())))
I need help with finding out the first day of the previous calender year