Hi
I have this code, but when the script runs the time which it echos is an hour behind, so if it ran now, it would say 8:38 also how would I get the time to stay the same so that when the page is refreshed the time doesnt change, I would like this to be possible but my main problem is the hour behind?
I have this code, but when the script runs the time which it echos is an hour behind, so if it ran now, it would say 8:38 also how would I get the time to stay the same so that when the page is refreshed the time doesnt change, I would like this to be possible but my main problem is the hour behind?
Code:
echo "file <a href=\"".$_POST["Nameoffile"].".txt\">".$_POST["Nameoffile"].".txt</a> was last modified: " . date ("F d Y H:i:s.", filemtime($file));
Comment