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

Recommended Posts

  • Newbies
Posted

I receive a txt file with date information formatted as: 20040726 (no delimiters)

Is there a magic (read: straightforward calculation) way in FMP7 to convert this to a date formatted as 7/26/2004?

Just thought I'd ask before I go "old school" and create too many extra fields to extract, sort and re-combine the info.

I've been off FMP for a while and on Excel far too long.

Posted

Hi, Rex. Make a calc date field with the calc:


Case( 



  not IsEmpty( TextDate ) , 

   Date( 

     Middle( 

       TextDate , 

       5 , 

       2 

     ) , 

     Right( 

       TextDate , 

       2 

     ) , 

     Left( 

       TextDate , 

       4 

     ) 

   ) 



)

HTH,

Jerry

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