Libraryless. Click here for Pure Java version (92L/1K).
static S formatDateWithSeconds(long time) { ret localDateWithSeconds(time); } static S formatDateWithSeconds() { ret localDateWithSeconds(); } static S formatDateWithSeconds(long time, TimeZone tz) { ret simpleDateFormat("yyyy/MM/dd HH:mm:ss", tz).format(time); }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1028052 |
| Snippet name: | formatDateWithSeconds - extended synonym of localDateWithSeconds |
| Eternal ID of this version: | #1028052/5 |
| Text MD5: | 1fff0dd2fbb730db68a8fa4861efd799 |
| Transpilation MD5: | 907ca054f943eed7f6c7e3c8245a3ccc |
| Author: | stefan |
| Category: | |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-06-28 17:12:35 |
| Source code size: | 289 bytes / 15 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 457 / 616 |
| Version history: | 4 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1028552 - formatDateRangeWithSeconds #1028634 - formatDateWithMinutes #1028637 - formatDateForGoogleAPI |