create json file with use datetime in it's name

Hi.

I want to finding a way to create json file repeatlly every time with use current datetime in name. example:

input_4-9-2024-18-00-00.json

input_4-9-2024-20-00-00.json

input_4-9-2024-22-00-00.json

Please help me.

I read other comments but I don’t undrestand.

Thank You.