N
Neil Grantham
Hi,
I have a table, with times stored for comptetors in races,
With the kind help of Allen Brown, I am now successfully storing in a
query the time for the competitor, and the previous competitors time,
with the aim of showing a time difference
Time are stored thus
05:32:50 (5 hours, 32 minutes and 50 seconds)
I'd like to return in a separate column, the time current competitor
was behind the previous
So, I used
Diff: DateDiff("n",[Priortime],[time])/60
However with values for Priortime and time as 05:42:04 and 05:42:30 I
get the result 0 (should be 26 seconds!) and for
05:42:04 and 05:43:39 gives the answer 0166666666666667 (should be 1
minute 35 seconds)
If I reverse the two fields in the equation I just get the same as
above with '-' (negative) values
What am I doing wrong?
I'd really like to get an answer formatted 00:00:26
Thanks for any help
Neil
I have a table, with times stored for comptetors in races,
With the kind help of Allen Brown, I am now successfully storing in a
query the time for the competitor, and the previous competitors time,
with the aim of showing a time difference
Time are stored thus
05:32:50 (5 hours, 32 minutes and 50 seconds)
I'd like to return in a separate column, the time current competitor
was behind the previous
So, I used
Diff: DateDiff("n",[Priortime],[time])/60
However with values for Priortime and time as 05:42:04 and 05:42:30 I
get the result 0 (should be 26 seconds!) and for
05:42:04 and 05:43:39 gives the answer 0166666666666667 (should be 1
minute 35 seconds)
If I reverse the two fields in the equation I just get the same as
above with '-' (negative) values
What am I doing wrong?
I'd really like to get an answer formatted 00:00:26
Thanks for any help
Neil