PDA

Click to See Complete Forum and Search --> : Adding time label captions together


BJK
Nov 26th, 1999, 08:13 AM
My problem is that I have two labels each with captions of hh:mm:ss (e.g. 00:02:33 and 00:04:25) running on them. I wish to add these two together to get a result on a third label (e.g 00:06:58 per this example) how would I do this?, Do I need code? If so can some one help me write the answer to this example.Captions are continually updating.
I can't thank you enough for your help -bjk

Aaron Young
Nov 26th, 1999, 11:03 AM
Label3 = Format(CDate(Label1) + CDate(Label2), "HH:MM:SS")

N.B. This will only show values within the 24Hr Range, eg. 00:00:00 - 23:59:59

------------------
Aaron Young
Analyst Programmer
aarony@redwingsoftware.com
adyoung@win.bright.net