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

3
LINES

< > BotCompany Repo | #1019452 - howManySecondsAgo

JavaX fragment (include)

static int howManySecondsAgo(long timestamp) {
  ret iround(toSeconds(now()-timestamp));
}

Author comment

Began life as a copy of #1019446

download  show line numbers  debug dex   

Travelled to 10 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pzhvpgtvlbxg, tvejysmllsmz

No comments. add comment

Snippet ID: #1019452
Snippet name: howManySecondsAgo
Eternal ID of this version: #1019452/1
Text MD5: f63bc59633fc7a416b9d5e8ccb5bb87a
Author: stefan
Category: javax / calendar
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-07 00:54:43
Source code size: 92 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 113 / 122
Referenced in: [show references]

Formerly at http://tinybrain.de/1019452 & http://1019452.tinybrain.de