Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: given day of the year.
Jaffar,
Try
select to_date('0101'||to_char(sysdate,'yyyy'),'mmddyyyy') + 100 from dual
Tom
-----Original Message-----
From: Jaffar_DBA [mailto:sjaffarhussain_at_gmail.com]
Sent: Tuesday, February 15, 2005 7:45 AM
To: oracle-l_at_freelists.org
Subject: given day of the year.
Hello list,
Could any one give me the script or sql for the following requirements:
If I need to know the 100th day of this year, like, If I pass value 100, want to extract the 100th day of the given year. Sunday 21, March, 2005. something like that.
--
Best Regards,
Jaffar, OCP DBA
Banque Saudi Fransi
Saudi Arabia
![]() |
![]() |