Jump to content

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

Recommended Posts

Posted

I'm importing data from a text file and parsing it (using the "middle" function). One of the data elements is a date (needed for subsequent calculations), but FM seems to read it as a number and converts that number to a date, which is not the date originally imported.

How can I resolve this? I searched previous threads, but couldn't find anything similar.

Thanks

Dave

Posted

You are probably going to have to use some text and date functions depending on how the import looks. Try this one and if it doesn't work, let me know what format it is in (i.e. is it 1/1/02, or 01/01/2002, or Jan 1, 2002, etc.)

Date(LeftWords(Text Date, 1), MiddleWords(Text Date, 2, 1), MiddleWords(Text Date, 3, 1))

HTH

Lee

smirk.gif

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