I have a C++ DLL which exports a function with date and time arguments currently as follows: date - a numeric long date in the form CCYYMMDD and time - a numeric double in the form HHMMSS.fraction. I use this because C++ types may or may not be available to the DLL user but I'm assuming long and double types are.
In the DLL function I want to manipulate the date & time (add, substract, convert to string etc.) but given all the different date types I'm a bit confused and unsure which are most effcient to use?
Any help appreciated.