How to print current datetime every time the schedule ran?

Hi guys, my organization just started working with temporal. I have this problem and I don’t know how to solve it.

dt_string ="%Y_%m_%d_%H%M%S")

async def main():
    client = await Client.connect("localhost:7233")
    await client.create_schedule(
            state=ScheduleState(note="Here's a note on my Schedule."),

if __name__ == "__main__":

I want to print current datetime in this “%Y_%m_%d_%H%M%S” format. But every time the workflow ran, it just prints out the first instance of datetime it ran like shown below. How can I print current datetime every time the schedule ran?

I just realized this was asked here and in Slack at the same time and was answered in Slack. The answer was that you are passing a fixed date as the workflow param. If you want per workflow execution times, inside the workflow you can use, one of the datetime properties of, or the TemporalScheduledStartTime search attribute.