473,406 Members | 2,745 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

How to find fourth Saturday of month?

Hi Guys,

Please let me know that how to find fourth Saturday of month.
Jan 16 '14 #1
4 1461
Rabbit
12,516 Expert Mod 8TB
Start at the first day of the month, add 28 days and subtract the week day number. Assuming of course your nls_territory default uses 1 for Sunday, which is the case in America.
Jan 16 '14 #2
I need American format, please help me.
Jan 17 '14 #3
Rabbit
12,516 Expert Mod 8TB
Then you can use the algorithm I already laid out in post #2. If you are having trouble implementing it, you need to show us the code you tried along with a descriptiont of any errors you get.
Jan 17 '14 #4
Luuk
1,047 Expert 1GB
"I need American format, please help me......."
There's a complete internet page available on 'American (date) format'
http://en.wikipedia.org/wiki/Date_an..._United_States
Jan 18 '14 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: N8tor | last post by:
I'm a programming neophyte so needless to say I need some help on some VB scripting. I need to create some code to find what month it will be this coming Saturday. I also need to do the same...
11
by: Solomon Grundy | last post by:
Select trunc(sysdate,'MM') from dual of course gives me the first day of the month, may I ask what the query is to find the first saturday of the month?
20
by: Laguna | last post by:
Hi Gurus, I want to find the expiration date of stock options (3rd Friday of the month) for an any give month and year. I have tried a few tricks with the functions provided by the built-in...
5
by: Ali Baba | last post by:
Hi, Is there is equivalent of VB's DateDiff() method in C#. I need to find difference in months between two dates that are years apart. Docs says that I can use TimeSpan like: TimeSpam ts =...
6
by: Jim Stools | last post by:
Any idea how to find the year, month and day from (Int32) 38896? 38896 presents 6/28/2006 in excel. The dates in the database are (all) stored as Int32's corresponding to the way dates are handled...
0
by: larry | last post by:
I am in the process of rewriting one of my first PHP scripts, an event calendar, and wanted to share the code that is the core of the new calendar. My current/previous calendar processed data...
2
by: metaperl | last post by:
First a simple question: Is it allowed to provide a date range that has an illegal date. For instance SELECT * FROM tbl WHERE datex >= 2007-09-01 AND datex <= 2007-09-31 Now for my real...
3
Narender Sagar
by: Narender Sagar | last post by:
Dear All, I want to create a database, in which I have to maintain Production Plan for the year. The condition is that every 2nd and 4th Saturday & all the Sundays in a month will be Holiday. There...
1
by: AdaCamille | last post by:
Hi all, I'm new to this community. I used month name to name the worksheets within a workbook, eg. Jan, Feb ... Then I need to copy the worksheet for the next month report. e.g. copy worksheet "Jul"...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.