Libertas OS API Documentation
    Preparing search index...

    Function difftime

    • Returns the difference, in seconds, from time t1 to time t2 (where the times are values returned by os.time). In POSIX, Windows, and some other systems, this value is exactly t2-t1.

      Parameters

      • t1: number
      • t2: number

      Returns number