I'm running Debian Linux on a Server along with an Apache Server.
I am in need of a php script which changes the time of the server. I have tried to write my own.? It appears that the time changes, but when I telnet in to the server, the time has not changed.? It seems to be a permission issue.
I've also written a script which has root permission which executes on the server when called from a main script. I have had no success it getting the server time to change. I've written scripts which use the date executable along with the hwclock.. etc.
I would appreciate help with this matter.
Thank you very much.
Example: 101313002009 = Oct 13, 2009 01:00pm
It should then set the time on the server.