Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

12
LINES

< > BotCompany Repo | #1030091 // Process Uptime

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (4792L/23K).

!7

cmodule ProcessUptime > DynBigNumber {
  start {
    setDescription("UPTIME (DD:HH:MM)");
    doEveryAndNow(60.0, r actualUpdate);
  }
  
  void actualUpdate {
    setValue(formatDaysColonHoursColonMinutes(sysNow()-vmStartTime_sys()));
  }
}

Author comment

Began life as a copy of #1020549

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030091
Snippet name: Process Uptime
Eternal ID of this version: #1030091/1
Text MD5: 2e723dff343291f1300c32f2d3043e62
Transpilation MD5: 3f19ed2cbaaf005ad8d7e1d65376a328
Author: stefan
Category:
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-11-08 18:07:15
Source code size: 256 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 145 / 388
Referenced in: [show references]