Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

11
LINES

< > BotCompany Repo | #1006470 // ymdWithSlashes - "yyyy/mm/dd"

JavaX fragment (include)

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);
}

Author comment

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: 542 / 547
Version history: 2 change(s)
Referenced in: [show references]