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

3
LINES

< > BotCompany Repo | #1037270 // unixTime_startOfDay (midnight of morning @ GMT)

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (10747L/59K).

static long unixTime_startOfDay(long time default now()) {
  ret unixDay(time)*24*60*60;
}

Author comment

Began life as a copy of #1015968

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): elmgxqgtpvxh, gjtlkbvenryc, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1037270
Snippet name: unixTime_startOfDay (midnight of morning @ GMT)
Eternal ID of this version: #1037270/1
Text MD5: 7f23835393d946614adc0f83973de004
Transpilation MD5: 82b76acb03dd8b3ff4029f549b484364
Author: stefan
Category: javax / time
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2024-02-24 15:08:20
Source code size: 92 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 27 / 48
Referenced in: [show references]