WEEKDAY - Returning the Day of the Week

  • Last update:December 15, 2024
  • Overview

    Syntax

    WEEKDAY(Serial_number)

    Returns the day of the week corresponding to a date. Returns an integer, ranging from 0 (Sunday) to 6 (Saturday).

    Parameter

    Serial_number

    Represents the date entered.

    Despite the text and date types, the Serial_number parameter can also be of the serial number type of the1900 date system for extracted data. For example, 35796 represents 1998-01-01.

    The Serial_number parameter can only be of the date or text type for real-time data.

    Notes

    • The function supports only one date or text parameter.

    Example

    Formula

    Result

    Note

    WEEKDAY("2005/9/10")

    6

    (Saturday) 

    iconNote:
    The format 2005/9/10 is not supported for real-time data. You need to change the   format to 2005-09-10.

    WEEKDAY("2005/9/11")

    0

    (Sunday) 

    iconNote:
    The format 2005/9/11 is not supported for real-time data. You need to change the   format to 2005-09-10.

    WEEKDAY(35796)

    4

    (Thursday)

    The format is not supported for real-time data.

     


    附件列表


    主题: Advanced Data Analysis
    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