DATESUBDATE

  • Last update:  2022-04-04
  • 1. Overview

    SyntaxDATESUBDATE(date1,date2,op)Returns the time difference between two dates.
    Parameter1date1

    date1,date2 indicates the two dates to be entered. If date1 is earlier than date2, the value is negative. date1 is later than date2 and is a positive value. If date1 or date2 is a value, the sequence number in 1900 is processed logically. For example, 35796 is 1998-01-01.

    Note: Only text and date types are supported for real-time data.

    Parameter2date2
    Parameter3opRepresents the unit of time returned: "s/S", in seconds. "m/M", in minutes." h/H", in hours."d /D", in days." w/W", in weeks.

    2. Precautions

    • Extracted data supports three parameters, the previous two date or text type parameters, the third requires text; The third parameter supports S, M, H, D, and W and is case insensitive.

    • In real-time data, the first and second date or text type parameters, and the third is a text type parameter.

    3. Example

    FormulaResultRemark
    DATESUBDATE("2008-08-08","2008-06-06","h")1512
    DATESUBDATE("2008-06-06","2008-08-08","H")-1512


    附件列表


    主题: Advanced Data Analyis
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy