sS ymdWithSlashes() { ret ymdWithSlashes(now()); } sS ymdWithSlashes(long time) { ret simpleDateFormat_local("YYYY/MM/dd").format(time); } sS ymdWithSlashes(long time, TimeZone tz) { ret simpleDateFormat("YYYY/MM/dd", tz).format(time); }
Began life as a copy of #1004679
download show line numbers debug dex old transpilations
Travelled to 17 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lnbujpyubztb, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1006470 |
Snippet name: | ymdWithSlashes - "yyyy/mm/dd" |
Eternal ID of this version: | #1006470/3 |
Text MD5: | c7e80692d14df8f78ef8fa29e23c7dd8 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-06-29 15:51:21 |
Source code size: | 255 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 621 / 625 |
Version history: | 2 change(s) |
Referenced in: | [show references] |