Hi @Singh, Kumar Deepesh ,
If your Input date format: 2021-04-12 04:53:00.0000000 then you need to use 'yyyy-MM-dd HH:mm:ss.SSS' in your toTimeStamp function, so you could try something like this - toTimestamp('2021-04-12 04:53:00.000', 'yyyy-MM-dd HH:mm:ss.SSS') in your code to convert it to required format.
In order to use Time format like toTimestamp($start_date, 'yyyy-mm-dd\'T\'HH:mm:ss') your input date format should be 2021-04-12T04:53:00.
Please refer to the highlighted text -
Please refer to the documentation. I have also checked this in my environment it works as expected. (See the below gif)
Please let me know if you have any other questions.
Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.