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

6
LINES

< > BotCompany Repo | #1034368 // dateWithMSUTC

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

Libraryless. Click here for Pure Java version (64L/1K).

1  
import java.text.*;
2  
3  
sS dateWithMSUTC(long time default now()) {
4  
  var format = simpleDateFormat_UTC("yyyy/MM/dd");
5  
  ret format.format(time) + " " + formatUTCWithMS_24(time);
6  
}

Author comment

Began life as a copy of #1032395

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034368
Snippet name: dateWithMSUTC
Eternal ID of this version: #1034368/1
Text MD5: 8f7565ea41ddb33db1cc390a12b07b7b
Transpilation MD5: 1f744464720c97b8c5b152edc3424d46
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-02-03 08:57:36
Source code size: 182 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 143 / 212
Referenced in: [show references]