Forum Discussion

4 Replies

  • thanks rraghvani but i need the numeric format 

    in my test i have 00:10 and in the same test when i have to verify the exact time in the report

    we have  0.17 and that comes from this formule 10 divide 60 = 0.17

     

     i used different format str to float and ... but it doesn't work because the initial format is time not integer 

     

     

  • I change the format to %H%M then i used aqConvert.StrToFloat and it works. 

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    The title "Convert time to number" which reads and means, converting date and time into an integer value, which is Epoch. You use Epoch to perform various date and time calculations, which you can then convert back to a readable format i.e. date and time.