Time synchronization in a distributed sensor network is a key issue. Data from the sensors are properly synchronized are very good material for further analysis. In the paper a network of medical sensors is presented. It is important to obtain a properly synchronized data from the sensors. This guarantee that the data can be processed to detect correlation between different signals. For the purpose of accurate time synchronization, the simple and efficient algorithm is presented.