About 15,100,000 results
Open links in new tab
  1. WEEKDAY - Google Docs Editors Help

    WEEKDAY(40909,3) Syntax WEEKDAY(date, [type]) date - The date for which to determine the day of the week. Must be a reference to a cell containing a date, a function returning a date type, or a …

  2. powerbi - DAX formula to determine if a given date is a weekday or ...

    Dec 12, 2022 · I want to create a measure in Power BI that tells me if a given date is a weekday or a weekend day. I have the following code that I found online: Day Type = IF(WEEKDAY(dates[Date], …

  3. How do I get the day of week given a date? - Stack Overflow

    I want to find out the following: given a date (datetime object), what is the corresponding day of the week? For instance, Sunday is the first day, Monday: second day.. and so on And then if the ...

  4. Get day of week in SQL Server 2005/2008 - Stack Overflow

    SELECT DATENAME(weekday, GETDATE()) -- Wednesday Or SET DATEFIRST and DATEPART to get the number for the day of the week.

  5. weekday - Excel - Find the Next or Previous Tuesday, where Week …

    Sep 22, 2023 · The tricky part here is this part: WEEKDAY(A2-{0;1;2;3;4;5;6};2)=2 I'm using WEEKDAY to get the weekdays of the next 7 days, including the given date and checking if it's a tuesdat or not …

  6. python - Create a day-of-week column - Stack Overflow

    Create a day-of-week column in a Pandas dataframe using Python I’d like to read a csv file into a pandas dataframe, parse a column of dates from string format to a date object, and then generate a ...

  7. WEEKDAY () - AppSheet Help - Google Help

    Jan 1, 2019 · MOD(([Weekday] - WEEKDAY([Date]) - 7), 7) returns the offset of the [Weekday] before or on [Date]. ([Date] + MOD(([Weekday] - WEEKDAY([Date]) + 7), 7)) returns the date of the first …

  8. Get Previous business day in a week with that of current Business Day

    Oct 8, 2025 · SELECT DATEADD(DAY, CASE DATENAME(WEEKDAY, GETDATE()) WHEN 'Sunday' THEN -2 WHEN 'Monday' THEN -3 ELSE -1 END , DATEDIFF(DAY, 0, GETDATE())) I prefer to use …

  9. SQL DATEPART(dw,date) need monday = 1 and sunday = 7

    Jul 22, 2014 · I have a Query where I get the WeekDay of a date but by default: Sunday = 1 Moday = 2 etc. The function is: DATEPART (dw,ads.date) as weekday I need the result so: Sunday = 7 Monday …

  10. How to get the day of week and the month of the year?

    Jan 27, 2011 · @RWC this is nice, but how do I manage to get only the weekday without the rest of the date part? I.E. I want saturday instead of saturday, 9th february 2019.