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

3
LINES

< > BotCompany Repo | #1026252 // addDateWithMillisecondsToFileName

JavaX fragment (include)

static File addDateWithMillisecondsToFileName(File f) {
  ret appendToFileNameBeforeExtension(f, "." + simpleDateFormat_local("yyyyMMdd-HHmmss-SSSS").format(now()));
}

Author comment

Began life as a copy of #1015405

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1026252
Snippet name: addDateWithMillisecondsToFileName
Eternal ID of this version: #1026252/1
Text MD5: f50837adfdc30c6b08cb3a57bcd84ebd
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-12-09 13:19:57
Source code size: 169 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 199 / 233
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)