龙听期货论坛's Archiver

龙听 发表于 2022-11-2 12:52

【SecondsToTime】

[code]inputs: Seconds( numericsimple ) ;
variables: var0( 0 ), var1( 0 );

var0 = IntPortion ( Seconds/(60*60) ) ;
var1 = IntPortion ((Seconds - 60*60*var0)/60);
SecondsToTime = 100 * Mod( var0, 24 ) + var1;
[/code]

页: [1]