Is it possible to convert two OE time integers (1234 and 1235 for example) to a string representation of a c# Timespan without using .NET (I'm on Unix).
There is no in-built ABL functionality to do this, if that is what you are asking. You would have to provide that implementation yourself (FWIW, I saw that the MSDN doc on TimeSpan has a link to the source).
Are looking for this: STRING(TIME,"HH:MM:SS") ?
DEFINE VARIABLE TS AS System.TimeSpan NO-UNDO.
TS = NEW System.TimeSpan(TIME * System.TimeSpan:TicksPerSecond).
MESSAGE STRING(TIME,"HH:MM:SS") skip
Unfortunately, I'm working on a Un*x box so System.Timespan is not available to me.
Richard's point, is that STRING( TIME, "HH:MM:SS" ) returns the same value as the .Net TimeSpan.
Ah, OK, thanks!