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

Recommended Posts

Posted

Mornin .. I was wondering if anybody knows a way to extract the four digit year from a date-field.

Reason I'm doing this is because I have a calculation that creates file references to images that have a file-name that includes that year ...

Appreciate the help ..

SM

Posted

Year ( Datefield ) will extract the year.

If you have records going back to before year 1000, and you want to pad the result with zeros, use:

Right ( "0000" & Year ( Datefield ) ; 4 )

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