How to append current time in build name with Java-TestNG?

Tell me how I can append current time in build name with Java-TestNG?

Hello Russell,

For changing the Test Name, you can use our hooks below:

((JavascriptExecutor) driver).executeScript("lambda-name=TestName");