You can sync with NTP. NTP is a central clock, where various computers can get their time from.
So, you can either set all your machines to get their time from a single NTP server, or just use a PHP NTP client to pull the time from a central clock. Your call. Check out an example here: http://xlo.co/blog/general/php-ntp-client
Is this what you are looking to do?