freecolours Posted December 21, 2002 Posted December 21, 2002 I can't figure this out! 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?
RussBaker Posted December 22, 2002 Posted December 22, 2002 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)) )
freecolours Posted December 22, 2002 Author Posted December 22, 2002 YES! This is it! Thanks a lot RussBaker!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now