Jump to content

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

Recommended Posts

Posted

I can't figure this out! frown.gif and hope that y'all have a solution for this...

I'm importing data from a .csv file into my FM database, so all the data is text formatted. Once I've done my importing, a date (date) shows the date as follows: 20010702. What I would like to have, is this text converted to a date format field and listed like this: 02-07-2001.

Is this possible? confused.gif

Posted

This works... A calculation field with a date format result. This assumes the 02 on the right is the day, and the 07 is the month, and that days and months less than 10 will always have a leading zero.

=Date(

TextToNum(Middle(Text_IP, 5, 2))

,

TextToNum(Right(Text_IP,2))

,

TextToNum(Left(Text_IP,4))

)

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