looking for help on secs ago or mins ago or hrs ago for an uploaded file.
I have file upload script which uploads the files in a directory, so im looking for help, so the script reads the date and time, each file has been uploaded compares to now time or as of now time and gives out secs ago, mins ago etc...
looking for help on secs ago or mins ago or hrs ago for an uploaded file.
I have file upload script which uploads the files in a directory, so im looking for help, so the script reads the date and time, each file has been uploaded compares to now time or as of now time and gives out secs ago, mins ago etc...
thank you in advance for your help
use time()-filemtime(filename) to get the seconds since it was uploaded