Rob van der Woude's Scripting Pages
Powered by GeSHi

Source code for sorttime.rex

(view source code of sorttime.rex as plain text)

  1. /* Display time in HHMMSS */
  2.  
  3. sorthour = right( time( "H" ), 2, "0" )
  4. sortmins = right( time( "M" ) - ( 60 * time( "H" ) ), 2, "0" )
  5. sortsecs = right( time( "S" ) - ( 60 * time( "M" ) ), 2, "0" )
  6. sorttime = sorthour||sortmins||sortsecs
  7. say sorttime
  8.  

page last uploaded: 2017-08-21, 14:26