|
Posted by rjfjohnson on 02/16/06 06:21
Hey,
Today is Thursday 16-Feb-06. The same thursday last year is 17-Feb-05.
Because I am comparing daily sales between years, I need to know the
date of the same weekdayname as last year, so that I am comparing
Saturdays with Saturdays, Sundays with Sundays, etc
ie, 16-feb-06 goes to 17-feb-05
28-july-06 goes to 27-july-05 and so on
I have tried all sorts of dateadd('2004-01-01'............. etc, and I
am all out of ideas.
Any suggestions would be very much appreciated.
Thanks
Ryan
Navigation:
[Reply to this message]
|