1 | import java.text.*; |
2 | |
3 | static S localDateWithSeconds(long time) { |
4 | SimpleDateFormat format = simpleDateFormat_local("yyyy/MM/dd HH:mm:ss"); |
5 | ret format.format(time); |
6 | } |
7 | |
8 | static S localDateWithSeconds() { |
9 | ret localDateWithSeconds(now()); |
10 | } |
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: | 511 / 559 |
Referenced in: | [show references] |