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

7
LINES

< > BotCompany Repo | #1026053 // timeInTimeZoneWithDate_24

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

Libraryless. Click here for Pure Java version (53L/1K).

sS timeInTimeZoneWithDate_24(S timezone, long time) {
  ret simpleDateFormat_timeZone("yyyy/MM/dd HH:mm", timezone).format(time);
}

sS timeInTimeZoneWithDate_24(S timezone) {
  ret timeInTimeZoneWithDate_24(timezone, now());
}

Author comment

Began life as a copy of #1026051

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: #1026053
Snippet name: timeInTimeZoneWithDate_24
Eternal ID of this version: #1026053/1
Text MD5: 6a3769a1fa8d475500486df91c1e59b5
Transpilation MD5: 9cf03b30de4428ac76391779ecc7fbf1
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-11-16 16:02:42
Source code size: 233 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 203 / 297
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)