Use this logic to achieve Peek () & previous also ensure remove timestamp from derived script.
Thanks
vikas
Hope this resolve your issue. If the issue is solved please mark the answer with Accept as Solution & like it. If you want to go quickly, go alone. If you want to go far, go together.