Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...

When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

Information from Time Servers

Time servers not only offer the time itself, but also additional information. You can get this information with the getInfo() method.

= new Zend_TimeSync(array('generic'  => 'ntp:\\',
'fallback' => 'ntp:\\'));

print_r ($server->getInfo());

The returned information differs with the protocol used and can also differ with the server used.

Zend Framework