I am pulling in a varchar field for Elapsed Time. The first 3 characters can be the day; or it could be 2 or even 1 character:
Example:
1D:3H:25M
203D:3H:39M
I normally do a substring for days, hours, minutes and can then perform necessary calculations. However, this is the first time I don't have a set number of characters for days (usually 2 characters).
Any suggestions/recommendations on how to break this out so I can perform my calculations?
Thanks in advance,
~Becky
Example:
1D:3H:25M
203D:3H:39M
I normally do a substring for days, hours, minutes and can then perform necessary calculations. However, this is the first time I don't have a set number of characters for days (usually 2 characters).
Any suggestions/recommendations on how to break this out so I can perform my calculations?
Thanks in advance,
~Becky