Libraryless. Click here for Pure Java version (107L/1K).
static double fileAgeInSeconds(File f) { ret f == null ? -1 : msToSeconds(now()-fileModificationTime(f)); }
Began life as a copy of #1028269
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: | #1029787 |
Snippet name: | fileAgeInSeconds |
Eternal ID of this version: | #1029787/1 |
Text MD5: | d6c24a385503420de81a3bbc634e4cdc |
Transpilation MD5: | ac08c5115a787d4b057b2385a88c22ec |
Author: | stefan |
Category: | javax / io |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-09-16 13:24:12 |
Source code size: | 111 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 250 / 323 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |