opensea-js - v8.0.20
    Preparing search index...

    Function getUnixTimestampInSeconds

    • Get a Unix timestamp for a future time

      Parameters

      • seconds: number

        Number of seconds from now

      Returns number

      Unix timestamp (seconds since epoch)

      // Get timestamp for 1 day from now
      const tomorrow = getUnixTimestampInSeconds(60 * 60 * 24);