Show how much time has passed since the file was modified

Have a suggestion for "Everything"? Please post it here.
Post Reply
avi
Posts: 20
Joined: Sat Aug 19, 2023 6:06 pm

Show how much time has passed since the file was modified

Post by avi »

Can you please give an option, to column or to ToolTip, to show how much time has passed since the file was modified. I mean, X hours, X days, X years.

Thanks for everything!
void
Developer
Posts: 15349
Joined: Fri Oct 16, 2009 11:31 pm

Re: Show how much time has passed since the file was modified

Post by void »

An option to natively show modified x hours/days/years ago is on my TODO list.
Thank you for the suggestion.

Please consider the following search:

Code: Select all

addcolumn:a a:=if(now()-$dm:>315576000000000,(now()-$dm:)/315576000000000.." years",if(now()-$dm:>864000000000,(now()-$dm:)/864000000000.." days",if(now()-$dm:>36000000000,(now()-$dm:)/36000000000.." hours",(now()-$dm:)/600000000.." minutes"))
Michi
Posts: 69
Joined: Thu Jul 28, 2022 9:23 am

Re: Show how much time has passed since the file was modified

Post by Michi »

So a function that shows the file age with some or one parameter to format the content :D
Post Reply