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

4
LINES

< > BotCompany Repo | #1027098 // ymd_minus_hms_minus_millis - "yyyymmdd-hhmmss-xxxx"

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2360L/15K).

static S ymd_minus_hms_minus_millis() {
  ret ymd() + "-" +
    spliceString(replace(hmsWithColonsAndMS(), ":", ""), 6, 6, "-");
}

Author comment

Began life as a copy of #1007037

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1027098
Snippet name: ymd_minus_hms_minus_millis - "yyyymmdd-hhmmss-xxxx"
Eternal ID of this version: #1027098/4
Text MD5: 270a2ad82ae2ba16ca0aab3e68cda58f
Transpilation MD5: 2f4d70d305cf13edc543b9652d50bf56
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-18 19:59:32
Source code size: 133 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 254 / 351
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)