I'm using the following to display the time of the last file modification,...How do I change it so that it displays the time as 12 hours earlier?
echo date("t M Y - g:ia",filemtime("index.shtml"));
This might work:
echo date("t M Y - g:ia",filemtime("index.shtml")-43200);
43200 is the number of seconds in 12hrs
Hope this helps.