【TimeToSeconds】
[code]inputs:XTime_S( numericsimple ) ;
var: var0(0),var1(0),var2(0);
var0 = IntPortion ( XTime_S/10000 );
var1 = Intportion ( (XTime_S - var0*10000)/100);
var2 = IntPortion ( FracPortion(XTime_S/100) * 100 );
TimeToSeconds = 60*60*var0 + 60*var1 + var2;
[/code]
页:
[1]