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!

Get Julian Date from BRIO

Status
Not open for further replies.

axcolo

Technical User
Mar 27, 2003
3
0
0
US
I have a Date field that I want to convert to Julian Date.
Has anyone done this successfully?
Thanks!
 
Where are you trying to convert this date? In the Query/Results or a report? What kind of database is the data coming from?
 
In the Results. The data is from one of our DB2 tables.
 
You should be able to modify the query with something similar to this :

cast( year(thedate) * 1000
+ dayofyear(thedate) as char(7) )
 
This worked just fine... thank you!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top