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

Julian date conversion

Status
Not open for further replies.

omacron

Technical User
Feb 5, 2002
149
Hi

I need to do a conversion of a julian date in a SQL script. Meaning convert a julian date to a calendar date. Is there a way of doing this?

thanks
 
Absolutely, Omacron.

To ensure that we give you the answer you are looking for, can you post some sample input and its counterpart output?

Here, for example is a conversion of TODAY (in Julian) to TODAY in default format:
Code:
select to_date(2454743,'j') from dual;

TO_DATE(2
---------
03-OCT-08
Let us know if this is useful.

[santa]Mufasa
(aka Dave of Sandy, Utah, USA)
[I provide low-cost, remote Database Administration services: www.dasages.com]
“Beware of those that seek to protect you from harm or risk. The cost will be your freedoms and your liberty.”
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top