Newbies Commcare Posted April 17, 2002 Newbies Posted April 17, 2002 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]
rdhaden Posted April 17, 2002 Posted April 17, 2002 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 Commcare Posted April 17, 2002 Author Newbies Posted April 17, 2002 Thanks! Worked great...Actually it was pretty simple...It's amazing how sometimes your brain just refuses to cooperate with your eyes....
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now