Skip to contentBrand Logo
RegisterSign In
  1. SmartBear Community
  2. TestComplete
  3. TestComplete Questions

Forum Discussion

macheshmeh's avatar
macheshmeh
Contributor
2 years ago
Solved

Convert time to number

I want to convert time to numeric value in testcomplete
desktop testing
script tests
  • macheshmeh's avatar
    macheshmeh
    2 years ago

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

rraghvani's avatar
rraghvani
Icon for Champion Level 3 rankChampion Level 3
2 years ago

See post https://community.smartbear.com/t5/TestComplete-Questions/Getting-milliseonds-with-Time-method/m-p/257256 and the example that I've provided.

 

Recent Discussions

  • TestComplete not recording right-click or menu on SVG map

    5 days ago
    MDuca
  • How to Click the Canvas object using test complete web module

    5 days ago
    thiyagu
  • Getting “NameError: 'aqFileSystem' is not defined” after upgrading to TestComplete v15.77.6.7 (x64).

    6 days ago
    dhanuj
Related Content
  • Swagger auto convert date time in UTC

    7 years ago
    Audric
  • Desktop app keyword test, extract alphanum, edit and convert to number for later use?

    9 months ago
    joscva
  • How to convert time value in Milliseconds?

    10 years ago
    sshah1
© 2025 SmartBear Software. All Rights Reserved.
  • Privacy
  • |
  • Terms of Use
  • |
  • Site Map
  • |
  • Website Terms of Use
  • |
  • Security
  • |
  • Community Terms of Service