DrAmine
Ansys Employee

You can get the time via CURRENT_TIME or the way you used to get time step. Probably a limitation as I see that udf is printing the messages just at the beginning after validating the menu they are hooked.