mznjs API Documentation - v0.0.31-beta.5
    Preparing search index...

    Function checkIsMilliseconds

    • 检查并转换时间戳

      Parameters

      • timestamp: number

        时间戳,单位可能为秒或毫秒

      Returns number

      转换后的时间戳,单位为毫秒

      如果时间戳格式错误,则抛出错误