Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help for calculation Week of date

Status
Not open for further replies.

DATEFUN

Programmer
Oct 16, 2002
2
US
Hi
Please let me know how to calculate of week of specific date for that month
I don't want week number of the year
I want week of the month

Please help me asap
Thanks
Milind
 
Does the week have to start on a specific day (such as Monday or Sunday)? If not, ceil(To_Number(To_Char(SYSDATE,'DD'))/7) will do it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top