//Put the date and time together as one DateTime value.
DateTime({TimeClockData.InDate}, formatTime ({TimeClockData.InTime}, False))

I have also written the custom function and the formula in both Crystal and Basic syntax. Either way, when i go to save the formula an error is raised stating Too many arguments have been given to this formula. For fun I removed an argument and got a message stating there were not enough arguments for the function.

Since the function requires 2 variables passed to it and I am passing 2 variables, I can't see where my mistake is. So any help is greatly appreciated.

The first being that what you have mentioned in your post works great if i was coding a control on a form within my app. But this is a Crystal report file and the custom function is store with it.

Secondly, I mentioned that I tried coding the function using both Crystal and Basic Syntax. So I did try the variation of your example that is supported by Crystal. I just don't make the Public/Private declaration, but the results were the same. Too many arguments....

With the Crystal Syntax you don't need to declare the Function name when coding it. The name is created once you right click on Report Custom Functions and select New...