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

7
LINES

< > BotCompany Repo | #1002151 // unixHour

JavaX fragment (include)

static long unixHour() {
  ret unixHour(now());
}

static long unixHour(long timestamp) {
  ret unixTime(timestamp)/(60*60);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1002151
Snippet name: unixHour
Eternal ID of this version: #1002151/2
Text MD5: 5eec32bcee1e3d15fb1e457b277473f5
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-02 19:26:00
Source code size: 132 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 664 / 967
Version history: 1 change(s)
Referenced in: [show references]