S
scottreds2k
I am using Access for reporting on data in a table that is controlled
by a separate software program. The start and end date and times are
in separate fields in each record and I need to calculate the
difference between the values. Data format is as follows:
start date: 20060802 (YYYYMMDD) as an integer
start time: 235952 (HHMMSS) 11:59:52 PM as an integer
end date: 20060803 (YYYYMMDD) as an integer
end time: 15 (HHMMSS) 12:00:15 AM as an integer
The difference is 23 seconds.
I know how to change the display format, but have not figured out how
to change the values so that I can calculate the difference in hours
and minutes between start and end.
Any Ideas?
Thanks
Scott
by a separate software program. The start and end date and times are
in separate fields in each record and I need to calculate the
difference between the values. Data format is as follows:
start date: 20060802 (YYYYMMDD) as an integer
start time: 235952 (HHMMSS) 11:59:52 PM as an integer
end date: 20060803 (YYYYMMDD) as an integer
end time: 15 (HHMMSS) 12:00:15 AM as an integer
The difference is 23 seconds.
I know how to change the display format, but have not figured out how
to change the values so that I can calculate the difference in hours
and minutes between start and end.
Any Ideas?
Thanks
Scott