09-29-2009, 07:56 AM
out
str Length="800.32"
ARRAY(str) arr
tok(Length arr 2 ".")
int ss=val(arr[0]);err
int ms=val(arr[1]);err
long TimeSpan=TimeSpanFromParts(0 0 0 ss ms)
DateTime s=TimeSpan
out s.ToStrFormat("{HH}:{mm}:{ss}.{F}")
I just noticed that this example is converting .32 to .032 for the ms
Needs to use "320" instead of 32.
Good Night,
jimmy Vig