G
Guest
I'm looking for the best way to calculate time in hours and minutes from two datetime fields, i.e., "04/01/2004 2300" and "04/02/2004 0635." I would like the results displayed on the form immediately, but not necessarily stored. Additionally, the code should lend itself to the calculation of total hours and minutes (not days, weeks or years) in a summary report. Any ideas as to what might be the optimum approach using T-SQL in a project file? Thanks for any ideas.