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

3
LINES

< > BotCompany Repo | #1020719 // ymd_month - get month from yyyymmdd string

JavaX fragment (include)

static int ymd_month(S ymd) {
  ret parseInt(substring(ymd, 4, 6));
}

Author comment

Began life as a copy of #1020718

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020719
Snippet name: ymd_month - get month from yyyymmdd string
Eternal ID of this version: #1020719/2
Text MD5: b597bb9cf9e21e23ec82f1f54c59a10d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-31 23:40:33
Source code size: 71 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 189 / 226
Version history: 1 change(s)
Referenced in: [show references]