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

9
LINES

< > BotCompany Repo | #1007144 // hmsWithColonsAndMS - hour, minute, second, milliseconds in "hh:mm:ss:msm"

JavaX fragment (include)

import java.text.SimpleDateFormat;

static S hmsWithColonsAndMS() {
  ret hmsWithColonsAndMS(now());
}

static S hmsWithColonsAndMS(long time) {
  ret simpleDateFormat_local("HH:mm:ss:SSS").format(time);
}

Author comment

Began life as a copy of #1006302

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, wnsclhtenguj, xrpafgyirdlv

No comments. add comment

Snippet ID: #1007144
Snippet name: hmsWithColonsAndMS - hour, minute, second, milliseconds in "hh:mm:ss:msm"
Eternal ID of this version: #1007144/7
Text MD5: 00889d276ad4e23f41962275afbea707
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2023-02-12 14:49:48
Source code size: 215 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 497 / 543
Version history: 6 change(s)
Referenced in: [show references]