Bikeman17 Posted November 4, 2005 Posted November 4, 2005 Hi gurus, I am looking for a calculation that will display this result: 10/23/2005...10/29/2005. In fact, last week based on today. The result will change as time goes by. I know it has to do with DateToText(Today.... but I can't figure out the rest.
Bikeman17 Posted November 4, 2005 Author Posted November 4, 2005 Well, I guess I made it. DateToText((Today-7)- (DayofWeek(Today)-1)) & "..." & DateToText(Today- (DayofWeek(Today)))
-Queue- Posted November 4, 2005 Posted November 4, 2005 If the calculation is used in a script step, then Today will work fine (although it is no longer available after version 6). If used for a calculation field, and you want the value to automatically update when the field is unstored, use DateToText(Status(CurrentDate) - DayofWeek(Status(CurrentDate)) - 6) & "..." & DateToText(Status(CurrentDate) - DayofWeek(Status(CurrentDate)))
Recommended Posts
This topic is 7024 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now