[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Time (seconds past midnight)

  • Thread starter Thread starter Stefan Drissen
  • Start date Start date
Status
Not open for further replies.
S

Stefan Drissen

Guest
The interval solution looks so twisted to my human eyes that it would need to hide behind a function facade - in which case the function might as well be doing old school modulo 60 tricks as George started: def var itime as int. itime = time. message string( itime, "hh:mm:ss" ) skip (1) "h~t" truncate( itime / 3600, 0 ) modulo 60 skip "m~t" truncate( itime / 60, 0 ) modulo 60 skip "s~t" itime modulo 60 view-as alert-box.

Continue reading...
 
Status
Not open for further replies.
Back
Top