Wireless sensor networks (WSNs) of spatially distributed autonomous sensors are used to monitor physical or environmental conditions such as temperature, sound, pressure, etc. They are also used to cooperatively pass the collected data through the network to a main location. Due to the application of wireless sensor networks as a monitoring device in the real world, the physical time of the occurrence of events is important. Since WSNs have particular constraints and limitations, synchronizing the physical times for these networks is considered to be a complex task. Although many algorithms have been proposed for synchronizing time in the network, there are two main error factors in all the proposed algorithms. The first factor is the clock drift which might be caused by the influence of different environmental factors such as temperature, ambient temperature, humidity, it might be generated on crystal oscillator which is inevitable The second error factor is indeterminacy which is attributed to the existence of non-deterministic delays in sending and receiving messages between sensor nodes. These two factors together reduce the precision of synchronization algorithms. In this paper, the researchers proposed a new approach for dealing with the above-mentioned two problems and achieving better synchronization. The proposed approach is a combination of flooding time synchronization protocol (FTSP) and reference broadcast synchronization (RBS).This approach is intended to increase synchronization accuracy and network lifetime by reducing the number of synchronization messages sent between nodes and eliminating the most of non-deterministic errors in sending messages. The results of simulations conducted in the study indicated that the proposed approach is significantly more efficient than the FTSP and RBS methods in terms of parameters such as accurate synchronization, amount of sent packets and power consumption.