Libraryless. Click here for Pure Java version (46L/1K).
1 | sS formatDateForLastModifiedHeader(long time default now()) { |
2 | var sdf = simpleDateFormat("EEE, dd MMM yyyy HH:mm:ss 'GMT'", TimeZone.getTimeZone("GMT")); |
3 | ret sdf.format(time); |
4 | } |
download show line numbers debug dex old transpilations
Travelled to 5 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
Snippet ID: | #1032429 |
Snippet name: | formatDateForLastModifiedHeader |
Eternal ID of this version: | #1032429/3 |
Text MD5: | 37573240df57cc3d4e869a5e5bf88c2b |
Transpilation MD5: | 7ad61065a56011acd9b43a717ecc1ce8 |
Author: | stefan |
Category: | javax / http |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-09-04 16:14:46 |
Source code size: | 184 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 151 / 226 |
Version history: | 2 change(s) |
Referenced in: | [show references] |