sS formatDaysColonHoursColonMinutes(long ms) { long minutes = iround(toMinutes(ms)); long hours = minutes/60; long days = hours/24; ret days + ":" + formatInt(mod(hours, 24), 2) + ":" + formatInt(mod(minutes, 60), 2); }
Began life as a copy of #1020552
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: | #1020553 |
| Snippet name: | formatDaysColonHoursColonMinutes - for a millisecond argument |
| Eternal ID of this version: | #1020553/1 |
| Text MD5: | 767d9ca7c9b120ad98482f71a74b319c |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-12-26 19:54:29 |
| Source code size: | 232 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 469 / 521 |
| Referenced in: | [show references] |