Jump to content

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

Recommended Posts

  • Newbies
Posted

I am importing (Via OBDC) information into Filemaker from a legacy pharmacy system. The pharmacy software stores a date as YEAR__DAY_OF_YEAR i.e. 2002001 for January 1, 2002. I am having extreme difficulty converting 2002001 to 01/01/2002 with a calculation.

Any Suggestions?

[email protected]

Posted

Assuming the field you are converting from is type text and always consists of 7 digits,

Date(1, 1, Left(DateField, 4)) + TextToNum(Right(DateField, 3)) - 1

  • Newbies
Posted

Thanks! Worked great...Actually it was pretty simple...It's amazing how sometimes your brain just refuses to cooperate with your eyes....

smile.gif

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