how to find a duration.......

srinivas.chittemsrinivas.chittem Member Posts: 142
Hai Good Morning....

here i have a small problem..

[/quote]


i have two variables a and b of datatypes 'time'

C is another variable of type duration

Now i am calculating duration of two times which decalred intially like,

c = a - b;

But it gives an error.....My moto is calculting duration....

please tell me what is the logic behind this....?????


Thanks & regards,

srinivas chittem
+91-998510163

[/list][/code]
Regards,
srinivas
"Delighting Customers.... Through Delivery Excellence" .

Comments

  • pduckpduck Member Posts: 147
    You must use DateTime instead of Time. Initialize the DateTimes, with Datevalue = 0D and Time as your Time Value.
Sign In or Register to comment.