Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 7024 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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.

Posted

Well, I guess I made it.

DateToText((Today-7)- (DayofWeek(Today)-1)) & "..." & DateToText(Today- (DayofWeek(Today)))

Posted

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)))

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.