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 modified: 2024-04-16; loaded in 0.0188 seconds