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

3
LINES

< > BotCompany Repo | #1015405 // addDateWithMinutesToFileName

JavaX fragment (include)

static File addDateWithMinutesToFileName(File f) {
  ret appendToFileNameBeforeExtension(f, "." + simpleDateFormat_local("yyyyMMdd-HHmm").format(now()));
}

Author comment

Began life as a copy of #1015404

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: #1015405
Snippet name: addDateWithMinutesToFileName
Eternal ID of this version: #1015405/4
Text MD5: a1af9d40b9a0b3787bb1d843792e3e8f
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:39:11
Source code size: 157 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 288 / 347
Version history: 3 change(s)
Referenced in: [show references]