macheshmeh
2 years agoContributor
Convert time to number
I want to convert time to numeric value in testcomplete
- 2 years ago
I change the format to %H%M then i used aqConvert.StrToFloat and it works.
I change the format to %H%M then i used aqConvert.StrToFloat and it works.
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