1 | static long unixHour() { |
2 | ret unixHour(now()); |
3 | } |
4 | |
5 | static long unixHour(long timestamp) { |
6 | ret unixTime(timestamp)/(60*60); |
7 | } |
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: | 665 / 968 |
Version history: | 1 change(s) |
Referenced in: | [show references] |