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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date conversion

Status
Not open for further replies.

AndreasAuer

IS-IT--Management
Jan 14, 2001
25
AT
My problem is the following:
I need to convert a date into week and year. I use to_char(date,'yyyy.iw'). The problem is that, if the date is in the last days of december but is in week 1 of the next year. For example: 31-dec-2001 should be 01.2002 but it returns 01.2001.

How can a solve this problem??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top