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 6589 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

Hi Guys, I have hit a wall with this calculation. I need to create a text field with 2005-2006, 2006-2007 etc, based on any given date. The changeover date is April 1. Has anyone else done this or can point me in the right direction. If this is not clear I'll try and explain it more clearly. Many thanks.

Seasons Greetings

Gordon

Posted

See if this fit's:

Year(Date ( Month ( aDate ) -4; Day ( aDate ) ; Year ( aDate ) )) & " - " & Year(Date ( Month ( aDate ) -4; Day ( aDate ) ; Year ( aDate ) +1))

--sd

Posted

I believe that would change on May 1; should be -3 instead of -4?

A shorter one:

Let ( [

y = Year ( Datefield ) - ( Month ( Datefield ) < 4 )

] ;

y & "-" & y + 1

)

This topic is 6589 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.