question

amanan avatar image
amanan asked ericnute converted comment to answer

Time value in exported chart data

Hi all,

 

When exporting an x-y chart, the time value is some large number.  How do I convert this to the actual time of day?

 

Thanks,

 

Art

iTestresults and reporting
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

AdamB avatar image
AdamB answered ericnute converted comment to answer

Hi Art,

 

I have attached an excel spreadsheet that has a formula cell the calculates these values for you.

 

The formula is: (D1 is the cell that is being converted)

 
               

=TIME(MOD(D1/'Conversion Factors'!$C$2,24)+'Conversion Factors'!$A$2,MOD(D1/'Conversion Factors'!$D$2,60),MOD(D1/'Conversion Factors'!$E$2,60))

If you add the "Conversion Factors page to your excel spreadsheet and copy the converted forumula in B16, you should be good to go.

 

Let me know whether you have any problems with it.

 

-Adam 

 

 


chartdata.zip (3.2 KiB)
1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

amanan avatar image amanan commented ·

Adam,

 

Awesome!  Thanks so much for the help.  I'll try this out.

 

Art

0 Likes 0 ·
amanan avatar image
amanan answered ericnute converted comment to answer
I have multiple graphs and am comparing the data using a time hack.  It would be nice to have a time-of-day mark like what is seen in the iTest charts. 
2 comments
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

AdamB avatar image AdamB commented ·

Are you using this inside or outside of iTest?  If you are putting it into excel I could create an excel example that might help.  If it is inside iTest, I could help create a Test Case that performs these computations. 

 

Do you want the format to be HH:MM:SS.sss  or just HH:MM:SS? 

 

Or would you be happy with a decimal hour equivalent? i.e. 13.5 hours for 13:30:00.

 

-Adam 

0 Likes 0 ·
amanan avatar image amanan AdamB commented ·

Adam,

 

I am planning to use excel.  HH:MM:SS is file.

 

Art

0 Likes 0 ·
AdamB avatar image
AdamB answered AdamB posted

Hi Art,

 

The time values are milliseconds from 1970 GMT.

 

How are you trying to use it?  I might be able to help figure out what calculations you need to perform.  

 

-Adam 

10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.