Our Knowledge Base covers a wide variety of technical topics, from the basic to the complex.
Home / QIN / Knowledge Base / How do I make a formula to calculate the third Friday of the current month?
Knowledge Base
How do I make a formula to calculate the third Friday of the current month?
Here is a formula that will calculate the third Friday of the current month:
NextDayOfWeek( FirstDayOfMonth(Today()) - Days(1), 5 ) + Weeks(2)
It can be broken down to the following steps:
1) find the first day of the month containing today
2) go back one day to the last day of the previous month
3) find the next Friday (the number 5 represents Friday)
4) add two weeks to that to get the third Friday
You have to go back one day from the first day of the month because the function NextDayOfWeek() starts the search with the next day after the one given.
- 39609 reads
Rate This
Similar Articles
Browse by Category
Knowledge Base Categories
- Accounts (35)
- Application (45)
- E-Mail (7)
- Fields (41)
- Forms (20)
- Formulas (18)
- General (68)
- Other Product (7)
- Pages (1)
- Product (5)
- Reports (15)
- Roles (4)
- Search (1)
- Tables (6)
Formula Category
about_http_API
access
add
API
APIs
application
applications
automatically
billing
buttons
change
copy
email
error
exact form
excel
export
field
fields
form
formula
formulas
formula URL
http_api
IP
issues
limit
limits
page
password
patches
plan
QuickBase
records
Release Notes
release notes
remove
report
reports
SDK
security
September 30
software
space
status
techfest
user
users
video
view



Comments
Post new comment