How can I append current time in my Mocha test build name?

How can I append current time in my Mocha test build name ?

Hi Ana!

To append current time in your Mocha test build name, you can use string.Format and add the string.

Below is the command for the same.

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