Looking at any step result, there's a TS.StartTime property, but it's referenced against the "the number of seconds since the application initialized the TestStand Engine"
What this means is that each step result is referenced against a somewhat arbitrary and changing epoch that isn't recognizable outside any one instance of the TestStand application, let alone by external applications.
I'd like to propose adding TS.StartTimeUnix, which contains the absolute time the step started.
I've added this in our model customization plugins, but to convert the epoch to UNIX I have to perform this calculation:
Seconds(False)-Seconds(True) + Parameters.Result->TS.StartTime
Why I'm asking for this:
In our step result database table, we've added a column for STEP_START_DATE_TIME which is absolute UTC time. To populate this I have to go through the gymnastics above. I revisited this code today and thought, "What silliness. This should be something natively supported." (Other than that I have no strong opinion on the matter)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.