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

10
LINES

< > BotCompany Repo | #1015404 // localDateWithMinutes

JavaX fragment (include)

import java.text.*;

static S localDateWithMinutes(long time) {
  SimpleDateFormat format = simpleDateFormat_local("yyyy/MM/dd HH:mm");
  ret format.format(time);
}

static S localDateWithMinutes() {
  ret localDateWithMinutes(now());
}

Author comment

Began life as a copy of #1015108

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1015404
Snippet name: localDateWithMinutes
Eternal ID of this version: #1015404/1
Text MD5: 780e00e77b1be7205cc6da2d67f918d8
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-13 17:35:25
Source code size: 245 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 464 / 486
Referenced in: [show references]