Libraryless. Click here for Pure Java version (46L/1K).
1 | import java.text.*; |
2 | |
3 | static S formatUTCWithMS_24(long time default now()) {
|
4 | var sdf = new SimpleDateFormat("HH:mm:ss.SSSS");
|
5 | sdf.setTimeZone(TimeZone.getTimeZone("UTC"));
|
6 | ret sdf.format(time) + " UTC"; |
7 | } |
Began life as a copy of #1032394
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1034367 |
| Snippet name: | formatUTCWithMS_24 |
| Eternal ID of this version: | #1034367/1 |
| Text MD5: | 6c77bcc1ce6577ffbcb6521e9084b9c5 |
| Transpilation MD5: | 494d7bc38f2ac74bbb89455c34fc0219 |
| 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:21 |
| Source code size: | 215 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 353 / 464 |
| Referenced in: | [show references] |