Hi folks,
I searched through loads of posts about Date arithmetic etc. but can't quite find a situation like I have:
I work with an old database which has separate pairs of fields, StartDate and StartTime, and EndDate End Time.
I need to calculate (in minutes) the elapsed time between start and end, but to keep the query simple I would like to find a way without doing this in separate difference stages for days then time.
I could do this with DateDiff function in one go if the start and end were single date-time fields rather than two separate ones. Is it possible somehow to combine each pair of fields retrospectively into one?
Thanks in advance
I searched through loads of posts about Date arithmetic etc. but can't quite find a situation like I have:
I work with an old database which has separate pairs of fields, StartDate and StartTime, and EndDate End Time.
I need to calculate (in minutes) the elapsed time between start and end, but to keep the query simple I would like to find a way without doing this in separate difference stages for days then time.
I could do this with DateDiff function in one go if the start and end were single date-time fields rather than two separate ones. Is it possible somehow to combine each pair of fields retrospectively into one?
Thanks in advance