Function timeUntil

  • Calculate the number of milliseconds until date/time

    Parameters

    • date: number | Date

      Target

    Returns number

    • Number of milliseconds until target