Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Julian Date Conversion

Author  Topic 

MTmace
Starting Member

7 Posts

Posted - 2005-01-19 : 17:38:04
I have a text field holding a julian date value. I would like to convert that field to fit the date field type.
How can I do this?

MTmace

clarkbaker1964
Constraint Violating Yak Guru

428 Posts

Posted - 2005-01-19 : 18:41:44
2003-10-17 can be represented as the 290
day of the current year, so you can use DATEADD function to add your Julian
date to the current year initial..



Go to Top of Page

jsmith8858
Dr. Cross Join

7423 Posts

Posted - 2005-01-19 : 18:56:43
Have you ever tried Google? It works pretty good!

http://www.google.com/search?hl=en&lr=&safe=off&c2coff=1&q=convert+julian+date+sql+server

- Jeff
Go to Top of Page
   

- Advertisement -