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

7
LINES

< > BotCompany Repo | #1032394 // formatUTCWithSeconds_24

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

Transpiled version (34L) is out of date.

import java.text.*;

static S formatUTCWithSeconds_24(long time default now()) {
  SimpleDateFormat sdf = new SimpleDateFormat("HH:mm:ss");
  sdf.setTimeZone(TimeZone.getTimeZone("UTC"));
  ret sdf.format(time) + " UTC";
}

Author comment

Began life as a copy of #1011865

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1032394
Snippet name: formatUTCWithSeconds_24
Eternal ID of this version: #1032394/3
Text MD5: d8263ee190c70ed0b9abd199415652c7
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-03 01:44:07
Source code size: 228 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 152 / 226
Version history: 2 change(s)
Referenced in: [show references]