How to append current time in build name using pytest?

How can I append current time in build name using pytest?

Hello Charity,

You can use string.Format and add the string:

string.Format("{0:yyyy-MM-dd_HH-mm-ss-fff}", Date_Time.Now);