String field convert to date

I have a string field, 12.30.14 that I need to format into a date field mm/dd/yy.
Using the formula below, it returns 3/30/12,

Can you identify what I am doing wrong?
Thanks!

if isnull({@Split Left Email Name}) then Date(0,0,0)

else

if ({@Split Left Email Name}='') THEN Date(0,0,0)

ELSE

Date(ToNumber(LEFT({@Split Left Email Name}, 2)),
      ToNumber(Mid ({@Split Left Email Name}, 4, 1)),
     ToNumber(Mid ({@Split Left Email Name}, 4, 2)))
rporter45Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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:
I assume that date is supposed to be 30 Dec 2014

Try changing date statement to

Date(ToNumber(Right({@Split Left Email Name}, 2)),
       ToNumber(Left({@Split Left Email Name}, 2)),
      ToNumber(Mid ({@Split Left Email Name}, 4, 2)))

If that doesn't work what is the @split formula?

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
rporter45Author Commented:
Works perfectly!! Thank you,

Colleen Slater
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.