Quote Originally Posted by Justa Lol View Post
time(); is the current time which changes every second... but if you use echo time(); then it will print a number i think its 365 * 24 * 60 * 60 = 1 year(1971) basically, when you save what you edited you could save the value that is printed when you echo time(); then you could use that time(what you saved) and load it into a variable then use that variable in the date(); function...

date("F d Y H:i:s.", $var); now the $var is the variable you load the data you saved when you printed time(); which will display the time you saved/printed time(); and when you did that is the last time you modified..
Ah ok, thanks! Do you know why the date/time would be different on the uploaded site to when I test it on my local machine. The code I'm using keeps the numbers of seconds between the last mod time as it was on my local machine just the time is different on the uploaded website.