Library API
    Preparing search index...

    Function asTime

    • Removes the colon from an HH:MI time string and returns it as a number.

      Parameters

      • hhmi: string | number

        The time string (e.g., '14:30')

      Returns number

      The numeric representation (e.g., 1430)

      asTime('14:30'); // 1430