B bluke Registered User. Local time Today, 06:22 Joined Apr 12, 2006 Messages 33 Jul 20, 2006 #1 Does anyone know a query expression that would always return the date of the first day of the week (a Monday) for the week after next?
Does anyone know a query expression that would always return the date of the first day of the week (a Monday) for the week after next?
J jaydwest JayW Local time Today, 05:22 Joined Apr 22, 2003 Messages 340 Jul 20, 2006 #2 Try this MondayNext: date() + (2 -Weekday(Date())) +7 MondayTwoWeeks: date() + (d-Weekday(Date())) + 14 As an alternative, you might want to put the date calculation in a function. Good Luck
Try this MondayNext: date() + (2 -Weekday(Date())) +7 MondayTwoWeeks: date() + (d-Weekday(Date())) + 14 As an alternative, you might want to put the date calculation in a function. Good Luck
RuralGuy AWF VIP Local time Today, 05:22 Joined Jul 2, 2005 Messages 13,825 Jul 20, 2006 #3 Here's a link to put in your favorites: A plethora of date functions