DAY - Returning the Day of a Date

  • Last update: May 21, 2025
  • Overview

    Syntax

    DAY(text/date,format)

    Returns the day of a date. The returned value is an integer ranging from 1 to 31.

    Syntax

    text/date

    Represents the date from which the day is to be extracted.The parameter value canalso a serial number. For example, January 1, 1998 is stored as the serial number 35796 in the 1900 date system.

    Type of the Returned Value

    Value

    Notes

    • The function allows the parameters to be empty. That is to say, you can simply use DAY(). When the parameters are empty, the function returns the day of the current system server time.

    • If any parameter is NULL, the result is NULL.

    Example

    Formula
    ResultNote

    DAY()

    23

    The corresponding system server time is 2020-10-23 15:36:25.

    DAY("2000/1/1")

    1


    DAY("1997-04-20","yyyy-MM-dd")

    20


    For example, when using a New Calculation Column operator in a Data Transformation node, input the formula DAY(Contract_Signing_Time), as shown in the following figure.

    3-1.png

    The extracted day data from the dates is shown in the following figure.

    3-2.png

    附件列表


    主题: Data Development - Scheduled Task
    Previous
    Next
    • 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