import java.text.*; static S localTime_24(long time) { SimpleDateFormat sdf = new SimpleDateFormat("HH:mm"); sdf.setTimeZone(localTimeZone()); ret sdf.format(time); } static S localTime_24() { ret localTime_24(now()); }
Began life as a copy of #1008488
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney
No comments. add comment
Snippet ID: | #1012820 |
Snippet name: | localTime_24 (HH:MM) |
Eternal ID of this version: | #1012820/4 |
Text MD5: | 4db382c42a078024b18517000a67dc93 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-07 21:21:19 |
Source code size: | 239 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 510 / 708 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1017893 - timeInZone_24 (HH:MM) #1022281 - localTime_24_minutesToZero (HH:MM) #1026563 - localMinutes #3000475 - Smart Bot's answer to: !fresh recentlyChangedSnippets() |