How do I combine a DATE Field with a TIME Field to form a DateTime field in Crystal Reports XI?

How do I combine a MULTIPLE DATE Field with a TIME Field to form a DateTime field in Crystal Reports XI?

My date field is broken up into year, month, day.  The data is the year field is 7 for 2007, 8 for 2008.  The day is 1,2,3,etc.  The month is 1,2,3,etc. Then I have a time field which is military time, in another field.  I need to be able to subtract DISCHARGE DATE (3 fields) and DISCHARGE TIME (1 military time field) from ADMIT DATE and ADMIT TIME (same format).  

I can do this in Crystal or Excel, I just need it!  Can anyone help!????
Becky EdwardsEpic Clarity DeveloperAsked:
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.

You can create the datetime like this

Add a formula

If that doesn't work give an example of the fields

Becky EdwardsEpic Clarity DeveloperAuthor Commented:
I tried your suggestion(see below). Perhaps I didn't quite understand. Error msg said "Wasn't a formula"

Where LPADT3 is Year
LPADT1 is Month
LPATD2 is Day
LPLAT is Time

if you browse data in these fields you will find:
LPADT3 is 8
LPADT2 is 11
LPADT3 is 14
LPLAT is 2359 (the time in military hours)
if i were to make theDate ToText it would look like this "11/14/2008" but I would have to format it like so:
ToText ({BADPLPP.LPADT1},'00')&'/'&ToText({BADPLPP.LPADT2},"00")&'/'&ToText({BADPLPP.LPADT3},"00")
Becky EdwardsEpic Clarity DeveloperAuthor Commented:
Please Help!!!!!  That particular one did not work, so I am still up in the air on this one.  Thank you.
Become a Microsoft Certified Solutions Expert

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

You'll have to do it this way

                Time({BADPLPP.LPLAT})\100,{BADPLPP.LPLAT}) MOD 100,00) )

Becky EdwardsEpic Clarity DeveloperAuthor Commented:
It says "The remaining text does not appear to be part of the formula" and ,00)) is highlighted.

Extra )'s

                Time({BADPLPP.LPLAT}\100,{BADPLPP.LPLAT} MOD 100,00) )


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
Becky EdwardsEpic Clarity DeveloperAuthor Commented:
Thank you So MUCH!  It worked.
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
DB Reporting Tools

From novice to tech pro — start learning today.