Libraryless. Click here for Pure Java version (29L/1K).
1 | // month = 1 to 12 |
2 | static long timestampFromYMDHM(int y, int m, int d, int h, int minutes) { |
3 | ret new GregorianCalendar(y, m-1, d, h, minutes).getTimeInMillis(); |
4 | } |
Began life as a copy of #1011261
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
Snippet ID: | #1031830 |
Snippet name: | timestampFromYMDHM |
Eternal ID of this version: | #1031830/2 |
Text MD5: | ce8c8fab3d3218520240772abd14120b |
Transpilation MD5: | e2de46ca1f3ef95a8b0f3a30a2219dca |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-07-13 05:48:02 |
Source code size: | 167 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 149 / 223 |
Version history: | 1 change(s) |
Referenced in: | [show references] |