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

10
LINES

< > BotCompany Repo | #1012292 // dateWithTimeGMT

JavaX fragment (include)

import java.text.*;

static S dateWithTimeGMT(long time) {
  SimpleDateFormat format = simpleDateFormat_GMT("yyyy/MM/dd");
  ret format.format(time) + " " + formatGMT_24(time);
}

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

Author comment

Began life as a copy of #1009026

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: #1012292
Snippet name: dateWithTimeGMT
Eternal ID of this version: #1012292/1
Text MD5: f97f362bf1e2a4c7ed4083041a0de772
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-27 12:39:36
Source code size: 249 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 471 / 464
Referenced in: [show references]