DATE - Displaying a Date

  • Last update: May 22, 2025
  • Overview

    Syntax

    DATE(Year,Month,Day)

    Returns a specific date.

    Parameter 1

    Year

    Represents the year, which can include one to four digits.

    Parameter 2

    Month

    Represents the month.If the value of Month is less than 12, the function uses the parameter value as the month.If the value of Month is greater than 12, the function adds the months starting from January of the specified year.

    Parameter 3

    Day

    Represents the day.The carry logic is the same as for Month.

    Return Value Type

    Date

    Notes

    Year can include one to four digits.

    Month represents the month. If the value of Month is less than 12, the function uses the parameter value as the month.

    If the value of Month is greater than 12, the function adds the months starting from January of the specified year.

    Day represents the day.The carry logic is the same as for Month.

    If any parameter is NULL, the result is NULL.

    Example

    Formula
    Result

    DATE(1978,9,19)

    1978-09-19

    DATE(2000,13,05)

    2001-01-05

    DATE(2000,3,35)

    2000-04-04



    附件列表


    主题: 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