Returns Unix timestamp from specified time ago

  • Parameters

    • unit: number

      Time unit in seconds

    • count: number = 1

      Number of units

    Returns number

    Timestamp in seconds