Warning: session_start(): open(/var/lib/php/sessions/sess_h3n6ldc9bfqnma1qld4to27of9, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
dateWithSecondsForFile [1012923]

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

5
LINES

< > BotCompany Repo | #1012923 // dateWithSecondsForFile

JavaX fragment (include)

1  
import java.text.*;
2  
3  
static S dateWithSecondsForFile() {
4  
  ret new SimpleDateFormat("yyyy-MM-dd_HHmmss").format(now());
5  
}

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: 971 / 948
Version history: 6 change(s)
Referenced in: [show references]