1 | import java.text.*; |
2 | |
3 | static S dateWithSecondsGMT(long time) { |
4 | SimpleDateFormat format = simpleDateFormat_GMT("yyyy/MM/dd"); |
5 | ret format.format(time) + " " + formatGMTWithSeconds_24(time); |
6 | } |
7 | |
8 | static S dateWithSecondsGMT() { |
9 | ret dateWithSecondsGMT(now()); |
10 | } |
Began life as a copy of #1012292
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: | #1012861 |
Snippet name: | dateWithSecondsGMT |
Eternal ID of this version: | #1012861/1 |
Text MD5: | 8dd259853e347bc1cae8a4c16219378b |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-14 21:35:59 |
Source code size: | 269 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 489 / 512 |
Referenced in: | [show references] |