1 | import java.text.SimpleDateFormat; |
2 | |
3 | static S hmsWithColonsAndMS() { |
4 | ret hmsWithColonsAndMS(now()); |
5 | } |
6 | |
7 | static S hmsWithColonsAndMS(long time) { |
8 | ret simpleDateFormat_local("HH:mm:ss:SSS").format(time); |
9 | } |
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: | 583 / 631 |
Version history: | 6 change(s) |
Referenced in: | [show references] |