Here is my trouble. I read the time a file was last modified, say 18:46 from my array. However this time is in UTC. So I say $timestring - 6 to change to my timezone, but this gives me 12. Not 12:46. Any ideas on how to better approach this would be much appreciated. Thanks.
Shayne
Use explode() to get hours and minutes separately, then subtract 6 from the hours, and if the result is less than 0, add 24 back on (because it's yesterday).
Then put the string back together if you want the usual way.
Thanks Weedpacket, that is a great idea. I am currently using explode () to make that string in my array from the source file, but I never thought of using it again. I'll give it a go. Thanks.