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

Why Zend_TimeSync ?

So why would someone use Zend_TimeSync ?

Normally every server within a multi-server farm will have a service running which synchronizes its own time with a time server. So within a standard environment it should not be necessary to use Zend_TimeSync. But it can become handy if there is no service available and if you don't have the right to install such a service.

Here are some example use cases, for which Zend_TimeSync is perfect suited:

  • Server without time service

    If your application is running on a server and this server does not have any time service running, it may make sense to use Zend_TimeSync in your application.

  • Separate database server

    If your database is running on a different server and this server is not connected with NTP or SNTP to the application server, you might have problems using storing and using time stamp data.

  • Multiple servers

    If your application is running on more than one server and these servers' time bases are not syncronized, you can expect problems within your application when part of the application is coming from one server and another part from another server.

  • Batch processing

    If you want to work with a time service within a batch file or within a command line application, Zend_TimeSync may be of use.

Zend_TimeSync may provide a good solution in all of these cases and can be used if you are unable to run any services on your server.

Zend Framework