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

5
LINES

< > BotCompany Repo | #1012923 // dateWithSecondsForFile

JavaX fragment (include)

import java.text.*;

static S dateWithSecondsForFile() {
  ret new SimpleDateFormat("yyyy-MM-dd_HHmmss").format(now());
}

Author comment

Began life as a copy of #1011865

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: #1012923
Snippet name: dateWithSecondsForFile
Eternal ID of this version: #1012923/7
Text MD5: 4842d6fa5eb198cc354e6085310d35be
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-29 10:23:38
Source code size: 125 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 411 / 415
Version history: 6 change(s)
Referenced in: [show references]