convert a birthday field

Hi,
I have a field that needs to be converted from a YYYYMMDD to 03/02/2010 as a birthday. Can this be done with a crystal formula?

Thanks,
k:)
Kathy_OAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mlmccCommented:
Sure.

If you want it to be a date that can be formatted and manipulated

Date(Val(Left({YourField},4)), Val(Mid({YourField},5,2)), Val(Right({YourField},2)))

If you just need it as a striing
Assuming you have MM/DD/YYYY
Mid({YourField},5,2) & "/" &  Right({YourField},2) & "/" & Left({YourField},4)

If you want
DD/MM/YYYY
Right({YourField},2) & "/" & Mid({YourField},5,2) & "/" &Left({YourField},4)

mlmcc
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Kathy_OAuthor Commented:
I am using crystal X (sucks) and this field is a number I converted the the field to a totext({bday}) then
created another formula using your mid statement above.  Thanks mlmcc for the help.  I am going to run it now to see how it works.  
0
mlmccCommented:
CStr and ToText are essntially the same function.

mlmcc
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Crystal Reports

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.