Hiya,
The following function pulls the A DayBefore of the Last Monday.
DateAdd("d",-((DatePart("w",Now())-2)),Now()-8) = 03-July-2011
Problem
Now I would like to use the same function and pull exact date of last 6month i.e. 03/01/2011?
Thanks for you help!
Regards
FArhan
Optional
To calcuatel Last Monday of the week.
Now() = 07-July-2011
DateAdd("d",-((DatePart("w",Now())-2)),Now()-7) AS LastMonday,
= 04/07/2011 14:22:22
The following function pulls the A DayBefore of the Last Monday.
DateAdd("d",-((DatePart("w",Now())-2)),Now()-8) = 03-July-2011
Problem
Now I would like to use the same function and pull exact date of last 6month i.e. 03/01/2011?
Thanks for you help!
Regards
FArhan
Optional
To calcuatel Last Monday of the week.
Now() = 07-July-2011
DateAdd("d",-((DatePart("w",Now())-2)),Now()-7) AS LastMonday,
= 04/07/2011 14:22:22