WEEKDAY Function (Gnumeric)
Learn the WEEKDAY function in Gnumeric: Returns the day of the week for the date value as an integer.
Reference checked: Examples have not been run in this spreadsheet application. How we verify guides
The WEEKDAY function in Gnumeric is used for this task: Returns the day of the week for the date value as an integer. Number weekdays with Monday equal to 1.
This guide explains how to read the formula, reproduce a concrete example, interpret its result and recognize common input mistakes.
Syntax and arguments
The worked formula below shows the argument order used for this example. Consult the linked software-specific function reference for optional parameters and edge cases.
Gnumeric formulas normally use commas (,) between arguments. These examples are written for Gnumeric rather than copied unchanged from LibreOffice Calc.
Worked example
=WEEKDAY(DATE(2025,1,12),2)
Expected result: 7.
Why it works: Number weekdays with Monday equal to 1.
How to use it in your own spreadsheet
- Identify the cells or inputs that correspond to the sample values above.
- Enter the formula in an empty cell, changing the references or literal values to match your sheet.
- Compare the output with a manual check on a small known example.
- Extend the formula to a larger dataset only after you understand the result.
Common problems and practical checks
- Make sure the underlying cell contains a real date or time value rather than unrecognized text.
- Check date-system, regional settings and the displayed number format before interpreting the result.
- A pasted formula may produce an error when it uses the other program’s argument separator or unsupported options.
Date tip: Dates are internally numeric values, while date formatting controls their appearance. Compare actual dates, not text that merely resembles dates.
Related functions
Documentation and verification
- Gnumeric official function catalog
- The function name was checked against the official reference. A comparable example passed in LibreOffice Calc 25.2, but the example was not executed in this application. Confirm on your installed version before depending on it.