Just try to search for zeros in the Timespan and remove it, and make sure to find at which position it found zeros, based on this you can decide whether it is days/hours/minutes/seconds.For example:Time Span = 0:00:09:18 ..In the above scenario, zero is found at position 1 means it is zero day. and second zero is at position 7 ignore it. (you should consider only 1,3,6,9) and so on.------------------------------
------------------------------
Vipul Tiwari
Senior Process Simplification and Optimization Designer(Solutions Architect)
Fidelity International
------------------------------
------------------------------
------------------------------
Vipul Tiwari
Senior Process Simplification Developer
Amazon
------------------------------