1 | static long unixDay() { |
2 | ret unixDay(now()); |
3 | } |
4 | |
5 | static long unixDay(long timestamp) { |
6 | ret unixHour(timestamp)/24; |
7 | } |
8 | |
9 | static long unixDay(Timestamp timestamp) { |
10 | ret unixDay(timestamp.toLong()); |
11 | } |
Began life as a copy of #1002151
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: | #1002354 |
Snippet name: | unixDay |
Eternal ID of this version: | #1002354/4 |
Text MD5: | f6ca06edaedc7adead8922b15734894f |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-12-20 22:26:56 |
Source code size: | 209 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 737 / 1076 |
Version history: | 3 change(s) |
Referenced in: | [show references] |