I'm try to set Recurrence Appointment in my caldender for 5th working day on every month.
I can see that i can set the 1st, 2nd, 3rd, 4th and the last day of every month but i cant see option to set for 5th day.
Does anyone know how I can do this?
Under 'Recurrence Pattern', select 'Monthly' and put put:
Day [5] of every [1] month(s)
in the bit on the right
-- edit --
Right, looks like this may be of use: http://www.websetters.co.uk/WSAddIns/WSRAII/index.htm
Outlook can't handle that natively as far as I know.
You could do some date crunching in Excel and import them though
Related
I have a google sheet that I use an attendance tracker for our business. This sheet reads month tabs and tally's the total Days present, Absent, Late etc..
The issue I am running into is that when someone plans a future time off or prearrange lateness I don't want it to tally that until it becomes the present day.
Essentially it should only tally up the present day and the past.
Thanks for the help.
In the "Report 2022" tab it shows Employee 15 having 6 Present days and 2 AR days. That totals to 8 "Working days count" , thats not accurate because the 2 AR days didnt happen yet; they are future dates.
If you look in the November tab it is counting the AR for future dates, I only want it to count past and present.
I haven't really came up with an idea, I tried the today function but I don't know exactly the best way to go about it.
Here is the sheet with Dummy employee data: https://docs.google.com/spreadsheets/d/103srHeFcJXvVKNn3w4ljuxAbnpMMy3YNHS4EJthx1pw/edit?usp=sharing
I have a date table with Day and Date columns in Power BI.
I would like to add a column which tells me if that week includes the first day of month.
For example when 1st of November is Friday, then it returns a "Yes" for that week.
Therefore, the column "IsFirstWeekOfMonth" shows "Yes" for the working days of a week which has 1st day of month.
Something like below:
Would you please let me know how I can do this in Power BI (M or DAX). Many thanks in advance
You can add a calculated column with the following logic, also checking if is or not a weekend day (for Saturdays and Sundays):
IsFistWeekOfMonth = IF(OR(WEEKDAY('Table'[Date].[Date],2)==6,WEEKDAY('Table'[Date].[Date],2)==7),"No",IF(AND(OR(WEEKNUM(DATE('Table'[Date].[Year],'Table'[Date].[MonthNo],1))==WEEKNUM('Table'[Date].[Date],2),WEEKNUM(DATE('Table'[Date].[Year],'Table'[Date].[MonthNo]+1,1))==WEEKNUM('Table'[Date].[Date],2)),WEEKDAY(DATE('Table'[Date].[Year],'Table'[Date].[MonthNo],1),2)IN{1,2,3,4,5}),"Yes","No"))
Please tell me if this can help you.
I am trying to find the same day of week from last month if today's date is Wednesday Oct 2nd 2019. I need to retrieve Wednesday Sept 4th 2019.
I am using Carbon and have tried subDays(30) and subMonth(1) but that obviously doesn't return the same week day.
SalesLogs::loadByDate(Carbon::now()->subMonth(1));
This code works as expected, however I am unable to work out how to make it find the same day of the week based on the prior month.
It's not super clear what you are trying to do, but I will take a shot at it. What about if you subtract a month, and then go to the next matching weekday?
$weekday = now()->dayOfWeek;
SalesLogs::loadByDate(now()->subMonth(1)->next($weekday));
Note: you can take advantage of Laravel's handy now() helper function, which is equal to Carbon::now(), but saves you from having to import Carbon.
Does that get you what you need?
I'm working on the following query and cant figure out the final piece of it. I need my query to give me a result set between the previous business and the previous business day minus (-) 28 days. (e.g. date range between 10/28/2015 and 10/28/2015 -28) The query that I wrote so far is only giving me the -28th day (09/30/2015) and NOT a range in between the previous business day and the previous business day -28. My research shows a couple of different ways of doing it and so far none have worked for me.
SELECT SMBL, SUM(NET_FLOWS/1000000.00)
FROM HISTORY
WHERE DATE - 28 = DATE AND DATE = TO_DATE('10282015','MMDDYYYY')
AND SYMBOL IN ('AAA','BBB')
GROUP BY SMBL
First off, date ranges are easy using BETWEEN, so you do the quick solution:
WHERE DATE BETWEEN (SYSDATE-28) and (SYSDATE-1)
Then you realize your dates have time components, so to include all of yesterday and all of day-28 you need to:
WHERE DATE >= TRUNC(SYSDATE)-28
AND DATE < TRUNC(SYSDATE)
Then I look at your rule "previous BUSINESS day" and ask - what are your business days? On a Monday to go up to the previous Friday? Or Saturday? Or are you a 7-day-a-week business? How about statutory holidays? And is it 28 CALENDAR days back? Or 28 BUSINESS days?
Ahh business rules. The devil is always in those details....
I'm writing an app that relies on the calendar and calendar events to display data to the user.
I need to be able to let the user select the beginning of his/her 'fiscal' year in settings, which will be the 1st of any of the 12 months. This is an app for military users, and any given unit's fiscal year can begin on whatever month their unit (base) decides.
The data I'm displaying to the user needs to be divided into 'fiscal' quarters according to the user's setting of the beginning of the fiscal year, not calendar year.
I'm not having problems retrieving, editing or deleting the events, I can't figure out how to change the beginning of the year to anything besides Jan 1st.
I found NSDateCategoryForReporting on GitHub, that seems like it's exactly what I need, but how do I tell it that the year begins on the 1st of x month?
iOS doesn't natively support this, so you'll have to find a plugin to do this or write your own. Your best bet is to write a class that performs the date conversions using the standard NSDate, NSCalendar, etc.
For instance, you could store what day the user specifies as their starting fiscal year. Then you can calculate the number of days difference between that and January 1st, and just shift dates based on that.