import java.text.*; static S localDateWithSeconds(long time) { SimpleDateFormat format = simpleDateFormat_local("yyyy/MM/dd HH:mm:ss"); ret format.format(time); } static S localDateWithSeconds() { ret localDateWithSeconds(now()); }
Began life as a copy of #1013844
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, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1015108 |
| Snippet name: | localDateWithSeconds |
| Eternal ID of this version: | #1015108/1 |
| Text MD5: | d13874e315dcca6781f26e1d57ff2513 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-05-08 13:46:50 |
| Source code size: | 248 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 801 / 860 |
| Referenced in: | [show references] |