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

11
LINES

< > BotCompany Repo | #1002354 // unixDay

JavaX fragment (include)

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

static long unixDay(long timestamp) {
  ret unixHour(timestamp)/24;
}

static long unixDay(Timestamp timestamp) {
  ret unixDay(timestamp.toLong());
}

Author comment

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: 738 / 1076
Version history: 3 change(s)
Referenced in: #1002427 - Accellerating 629 (SPIKE)
#1006654 - Standard functions list 2 (LIVE, continuation of #761)